EvilCraft

EvilCraft

19M Downloads

Shift-rightclick bucket of water in blood chest crashes client

immortaleeb opened this issue ยท 0 comments

commented

The client crashes when right clicking with a water bucket when you have the gui of a blood chest open. The same probably holds true for a lot of other and items and for the blood infuser as well

I crashed with the following error:
java.lang.ClassCastException: net.minecraft.item.ItemBucket cannot be cast to net.minecraftforge.fluids.IFluidContainerItem
at evilcraft.gui.slot.SlotFluidContainer.checkIsItemValid(SlotFluidContainer.java:66)
at evilcraft.gui.slot.SlotFluidContainer.func_75214_a(SlotFluidContainer.java:49)
at evilcraft.api.gui.container.InventoryContainer.func_75135_a(InventoryContainer.java:150)
at evilcraft.api.gui.container.InventoryContainer.func_82846_b(InventoryContainer.java:77)
at net.minecraft.inventory.Container.func_75144_a(SourceFile:193)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78753_a(PlayerControllerMP.java:445)
at net.minecraft.client.gui.inventory.GuiContainer.func_146984_a(GuiContainer.java:655)
at net.minecraft.client.gui.inventory.GuiContainer.func_73864_a(GuiContainer.java:406)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:309)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:275)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1625)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:953)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:870)
at net.minecraft.client.main.Main.main(SourceFile:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)