[Bug]: Anvil doesn't work
lMerKal opened this issue ยท 0 comments
Mod Loader (Required)
Forge
Minecraft Version (Required)
1.19.2
Mod Version (Required)
EasyAnvils-v4.0.11-1.19.2-Forge.jar
Notes (Required)
What happens: The item appears in the last anvil slot for a millisecond.
- open the anvil
- Put the item down and change its name
What's expected: The item appears in the last slot and I can take it with the changed name.
When I open the anvil, this appears in the server console:
[17:49:00 ERROR]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundUseItemOnPacket@5bcf3575, suppressing error java.lang.UnsupportedOperationException: Not supported yet. at net.minecraft.world.inventory.ContainerLevelAccess.getWorld(ContainerLevelAccess.java:52) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.world.inventory.ContainerLevelAccess.getLocation(ContainerLevelAccess.java:60) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.world.inventory.AnvilMenu.getBukkitView(AnvilMenu.java:47) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.world.inventory.AnvilMenu.m_6640_(AnvilMenu.java:116) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.world.inventory.ItemCombinerMenu.m_6199_(ItemCombinerMenu.java:72) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.world.inventory.ItemCombinerMenu$1.m_6596_(ItemCombinerMenu.java:23) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.world.SimpleContainer.m_6836_(SimpleContainer.java:188) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at fuzs.easyanvils.world.inventory.BuiltInAnvilMenu.init(BuiltInAnvilMenu.java:16) ~[EasyAnvils-v4.0.11-1.19.2-Forge.jar%23291!/:4.0.11] at fuzs.easyanvils.world.inventory.ModAnvilMenu.m_6640_(ModAnvilMenu.java:88) ~[EasyAnvils-v4.0.11-1.19.2-Forge.jar%23291!/:4.0.11] at net.minecraft.world.inventory.ItemCombinerMenu.m_6199_(ItemCombinerMenu.java:72) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.world.level.block.AnvilBlock.handler$zzj000$easyanvils$use(AnvilBlock.java:541) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.world.level.block.AnvilBlock.m_6227_(AnvilBlock.java) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_60664_(BlockBehaviour.java:714) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.server.level.ServerPlayerGameMode.m_7179_(ServerPlayerGameMode.java:340) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.m_6371_(ServerGamePacketListenerImpl.java:1156) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:34) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:8) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:25) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:901) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:171) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:884) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:878) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:864) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:795) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:278) ~[server-1.19.2-20220805.130853-srg.jar%23385!/:?] at java.lang.Thread.run(Thread.java:833) [?:?]