diff --git a/gradle.properties b/gradle.properties index 5ac8b6be2..0d308c7e9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,10 +9,10 @@ author = masa mod_file_name = tweakeroo-fabric # Current mod version -mod_version = 0.22.2 +mod_version = 0.22.3 # Required malilib version -malilib_version = 379ca124a2 +malilib_version = 1.21.3-0.22.4 # Minecraft, Fabric Loader and API and mappings versions minecraft_version_out = 1.21.3 diff --git a/src/main/java/fi/dy/masa/tweakeroo/event/InputHandler.java b/src/main/java/fi/dy/masa/tweakeroo/event/InputHandler.java index ef7e98d76..a9b629304 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/event/InputHandler.java +++ b/src/main/java/fi/dy/masa/tweakeroo/event/InputHandler.java @@ -1,6 +1,7 @@ package fi.dy.masa.tweakeroo.event; import com.google.common.collect.ImmutableList; + import net.minecraft.client.MinecraftClient; import net.minecraft.client.input.Input; import net.minecraft.client.option.GameOptions; @@ -12,6 +13,7 @@ import net.minecraft.util.hit.HitResult; import net.minecraft.util.math.Vec3d; import net.minecraft.world.RaycastContext; + import fi.dy.masa.malilib.config.options.ConfigDouble; import fi.dy.masa.malilib.gui.GuiBase; import fi.dy.masa.malilib.hotkeys.*; diff --git a/src/main/java/fi/dy/masa/tweakeroo/util/InventoryUtils.java b/src/main/java/fi/dy/masa/tweakeroo/util/InventoryUtils.java index abe8f7795..27d3d77a2 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/util/InventoryUtils.java +++ b/src/main/java/fi/dy/masa/tweakeroo/util/InventoryUtils.java @@ -22,16 +22,10 @@ import net.minecraft.entity.attribute.EntityAttributes; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; -import net.minecraft.inventory.Inventories; -import net.minecraft.inventory.Inventory; -import net.minecraft.inventory.SimpleInventory; import net.minecraft.item.*; -import net.minecraft.nbt.NbtCompound; -import net.minecraft.nbt.NbtList; import net.minecraft.network.packet.c2s.play.UpdateSelectedSlotC2SPacket; import net.minecraft.registry.Registries; import net.minecraft.registry.RegistryKey; -import net.minecraft.registry.RegistryWrapper; import net.minecraft.registry.entry.RegistryEntry; import net.minecraft.screen.PlayerScreenHandler; import net.minecraft.screen.ScreenHandler; @@ -39,7 +33,6 @@ import net.minecraft.screen.slot.SlotActionType; import net.minecraft.util.Hand; import net.minecraft.util.Identifier; -import net.minecraft.util.collection.DefaultedList; import net.minecraft.util.hit.BlockHitResult; import net.minecraft.util.hit.HitResult; import net.minecraft.util.math.BlockPos; @@ -48,7 +41,6 @@ import net.minecraft.world.World; import fi.dy.masa.malilib.gui.Message; -import fi.dy.masa.malilib.util.Constants; import fi.dy.masa.malilib.util.GuiUtils; import fi.dy.masa.malilib.util.InfoUtils; import fi.dy.masa.tweakeroo.Tweakeroo; diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 104affb0c..82509a603 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -34,6 +34,6 @@ "depends": { "minecraft": ">=1.21.2 <=1.21.3", - "malilib": ">=0.22.3" + "malilib": ">=0.22.4" } }