Skip to content

Commit d342d0a

Browse files
committed
1.20.5
1 parent 32393d8 commit d342d0a

File tree

10 files changed

+22
-22
lines changed

10 files changed

+22
-22
lines changed

.github/workflows/gradle.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 17
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@v2
2121
with:
2222
distribution: 'temurin'
23-
java-version: 17
23+
java-version: 21
2424

2525
- name: Cache gradle files
2626
uses: actions/cache@v2

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242
- uses: actions/checkout@v3
4343
with:
4444
ref: ${{ matrix.branch }}
45-
- name: Set up JDK 17
45+
- name: Set up JDK 21
4646
uses: actions/setup-java@v3
4747
with:
4848
distribution: 'temurin'
49-
java-version: 17
49+
java-version: 21
5050

5151
- name: Cache gradle files
5252
uses: actions/cache@v3

build.gradle

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
plugins {
2-
id 'fabric-loom' version '0.12-SNAPSHOT'
2+
id 'fabric-loom' version '1.6-SNAPSHOT'
33
id 'maven-publish'
44
}
55

6-
sourceCompatibility = JavaVersion.VERSION_1_8
7-
targetCompatibility = JavaVersion.VERSION_1_8
6+
sourceCompatibility = JavaVersion.VERSION_21
7+
targetCompatibility = JavaVersion.VERSION_21
88

99
// From Carpet-TIS-Addition
1010
boolean buildRelease = System.getenv("BUILD_RELEASE") == "true"
@@ -39,14 +39,14 @@ dependencies {
3939
minecraft "com.mojang:minecraft:${project.minecraft_version}"
4040
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
4141
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
42-
modImplementation 'com.github.Fallen-Breath:conditional-mixin:v0.3.2'
43-
include "com.github.Fallen-Breath:conditional-mixin:v0.3.2"
42+
modImplementation 'com.github.Fallen-Breath.conditional-mixin:conditional-mixin-fabric:v0.6.2'
43+
include "com.github.Fallen-Breath.conditional-mixin:conditional-mixin-fabric:v0.6.2"
4444

4545
// mods
46-
modImplementation "carpet:fabric-carpet:1.20.3-${project.carpet_core_version}"
46+
modImplementation "carpet:fabric-carpet:${project.minecraft_version}-${project.carpet_core_version}"
4747

4848
// runtime mods
49-
modRuntimeOnly "com.github.Fallen-Breath:lazydfu:a7cfc44c0c" // faster startup
49+
// modRuntimeOnly "com.github.Fallen-Breath:lazydfu:a7cfc44c0c" // faster startup
5050

5151
// libraries
5252
implementation "org.yaml:snakeyaml:${project.snakeyaml_version}"

gradle.properties

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ org.gradle.jvmargs=-Xmx1G
33

44
# Fabric Properties
55
# check these on https://fabricmc.net/develop
6-
minecraft_version=1.20.4
7-
yarn_mappings=1.20.4+build.1
8-
loader_version=0.14.9
6+
minecraft_version=1.20.5
7+
yarn_mappings=1.20.5+build.1
8+
loader_version=0.15.10
99
# check available versions on maven for the given minecraft version you are using
1010
# https://masa.dy.fi/maven/carpet/fabric-carpet/
11-
carpet_core_version=1.4.128+v231205
11+
carpet_core_version=1.4.140+v240423
1212

1313
# Mod Properties
1414
mod_version = 2.2.2
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/java/me/ivan/ivancarpetaddition/commands/replaceproperties/ReplacePropertiesCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import net.minecraft.util.math.BlockBox;
1717
import net.minecraft.util.math.BlockPos;
1818

19-
import javax.annotation.Nullable;
19+
import org.jetbrains.annotations.Nullable;
2020
import java.util.Optional;
2121
import java.util.function.Predicate;
2222

src/main/java/me/ivan/ivancarpetaddition/mixins/rule/creeperIgnitedByFire/CreeperEntityMixin.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ public CreeperEntityMixin(EntityType<?> type, World world) {
2121
}
2222

2323
@Override
24-
public void setOnFireFor(int seconds) {
25-
super.setOnFireFor(seconds);
24+
public void setOnFireForTicks(int ticks) {
25+
super.setOnFireForTicks(ticks);
2626
if (IvanCarpetAdditionSettings.creeperIgnitedByFire) {
2727
this.ignite();
2828
}

src/main/java/me/ivan/ivancarpetaddition/mixins/rule/flippinCactusSound/BlockRotatorMixin.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class BlockRotatorMixin {
2525
)
2626
private static void flip_block(BlockState state, World world, PlayerEntity player, Hand hand, BlockHitResult hit, CallbackInfoReturnable<Boolean> cir) {
2727
if (IvanCarpetAdditionSettings.flippinCactusSound) {
28-
player.playSound(SoundEvents.BLOCK_DISPENSER_LAUNCH, SoundCategory.AMBIENT, 1.0F, 1.0F);
28+
player.playSoundToPlayer(SoundEvents.BLOCK_DISPENSER_LAUNCH, SoundCategory.AMBIENT, 1.0F, 1.0F);
2929
}
3030
}
3131
}

src/main/resources/fabric.mod.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
],
2828

2929
"depends": {
30-
"fabricloader": ">=0.7.4",
30+
"fabricloader": ">=0.14.25",
3131
"carpet": ">=1.4.16",
3232
"minecraft": "1.20.x"
3333
},

src/main/resources/ivan-carpet-addition.mixins.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"minVersion": "0.8",
44
"package": "me.ivan.ivancarpetaddition.mixins",
55
"plugin": "me.ivan.ivancarpetaddition.utils.mixin.ICAMixinPlugin",
6-
"compatibilityLevel": "JAVA_8",
6+
"compatibilityLevel": "JAVA_21",
77
"mixins": [
88
"carpet.HUDControllerMixin",
99
"carpet.SettingsManagerMixin",

0 commit comments

Comments
 (0)