diff --git a/build.gradle b/build.gradle index 3d1eac7..23dee81 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '0.11-SNAPSHOT' + id 'fabric-loom' version '0.12-SNAPSHOT' id 'maven-publish' } diff --git a/gradle.properties b/gradle.properties index b2d81d9..62e1696 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use -minecraft_version=1.18.1 -yarn_mappings=1.18.1+build.22 -loader_version=0.13.1 +minecraft_version=1.19 +yarn_mappings=1.19+build.2 +loader_version=0.14.7 # Mod Properties mod_version = 1.4.0 @@ -13,6 +13,6 @@ maven_group = leaf-decay archives_base_name = leaf-decay # Dependencies -fabric_version=0.46.4+1.18 -cloth_config_version = 6.1.48 -mod_menu_version = 3.0.1 \ No newline at end of file +fabric_version=0.56.0+1.19 +cloth_config_version = 7.0.72 +mod_menu_version = 4.0.0 \ No newline at end of file diff --git a/src/main/java/draylar/leafdecay/mixin/LeafDecayMixin.java b/src/main/java/draylar/leafdecay/mixin/LeafDecayMixin.java index d694c2a..eb93503 100644 --- a/src/main/java/draylar/leafdecay/mixin/LeafDecayMixin.java +++ b/src/main/java/draylar/leafdecay/mixin/LeafDecayMixin.java @@ -5,13 +5,12 @@ import net.minecraft.block.LeavesBlock; import net.minecraft.server.world.ServerWorld; import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.random.Random; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -import java.util.Random; - @Mixin(LeavesBlock.class) public class LeafDecayMixin {