diff --git a/gradle.properties b/gradle.properties index 872b3709c..e17263f89 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,11 +9,11 @@ author = masa mod_file_name = tweakeroo-fabric # Current mod version -mod_version = 0.21.53-sakura.1 +mod_version = 0.21.53-sakura.2 # Required malilib version -malilib_version = 0.21.2-sakura.1 -malilib_id = dead5697c6 +malilib_version = 0.21.2-sakura.2 +malilib_id = 21481c3732 # Minecraft, Fabric Loader and API and mappings versions minecraft_version_out = 1.21 diff --git a/src/main/java/fi/dy/masa/tweakeroo/util/RayTraceUtils.java b/src/main/java/fi/dy/masa/tweakeroo/util/RayTraceUtils.java index 8b60da3dd..a8e397a9a 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/util/RayTraceUtils.java +++ b/src/main/java/fi/dy/masa/tweakeroo/util/RayTraceUtils.java @@ -35,10 +35,7 @@ import net.minecraft.world.World; import fi.dy.masa.malilib.render.InventoryOverlay; -import fi.dy.masa.malilib.util.Constants; -import fi.dy.masa.malilib.util.EntityUtils; -import fi.dy.masa.malilib.util.NbtKeys; -import fi.dy.masa.malilib.util.WorldUtils; +import fi.dy.masa.malilib.util.*; import fi.dy.masa.tweakeroo.data.ServerDataSyncer; import fi.dy.masa.tweakeroo.mixin.IMixinAbstractHorseEntity; import fi.dy.masa.tweakeroo.mixin.IMixinPiglinEntity; @@ -234,7 +231,7 @@ else if (trace.getType() == HitResult.Type.ENTITY) if (enderPair != null && enderPair.getRight() != null && enderPair.getRight().contains(NbtKeys.ENDER_ITEMS)) { - enderItems = InventoryUtils.getPlayerEnderItemsFromNbt(enderPair.getRight(), world.getRegistryManager()); + enderItems = fi.dy.masa.malilib.util.InventoryUtils.getPlayerEnderItemsFromNbt(enderPair.getRight(), world.getRegistryManager()); } else { diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 1960d6811..9730d790d 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -34,6 +34,6 @@ "depends": { "minecraft": ">=1.21 <=1.21.1", - "malilib": ">=0.21.2-sakura.1" + "malilib": ">=0.21.2-sakura.2" } }