Botania

Botania

133M Downloads

Botania, JEI and Crafting Station crash

LepkoQQ opened this issue ยท 2 comments

commented

My crafting station was placed beside the petal apothecary from Botania and it recognized the internal slots as a chest in the GUI.

Since I couldn't click to insert or take items from the slots I just assumed it was fine since it respected the isValidItem/canTake methods on those slots.

But then I tried to click the plus sign on a recipe in JEI and since the crafring station wasnt empty it tried to move the items in to the slots of the petal apothecary and since those items should never be in there it crashed the game.

Hopefully a not too confusing screenshot:
2016-11-16_01 21 05

Now afaik JEI is at fault but I reported it in all three repos:
SlimeKnights/TinkersConstruct#2570
mezz/JustEnoughItems#615
#2036

net.minecraft.util.ReportedException: Ticking block entity
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:715) ~[MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) ~[MinecraftServer.class:?]
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149) ~[bzl.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
Caused by: java.lang.ClassCastException: net.minecraft.item.Item cannot be cast to vazkii.botania.api.recipe.IFlowerComponent
	at vazkii.botania.common.block.tile.TileAltar.func_73660_a(TileAltar.java:263) ~[TileAltar.class:?]
	at net.minecraft.world.World.func_72939_s(World.java:1804) ~[aid.class:?]
	at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:619) ~[ls.class:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709) ~[MinecraftServer.class:?]
	... 4 more

Relevant versions:

  • Forge{12.18.2.2125} [Minecraft Forge] (forge-1.10.2-12.18.2.2125.jar)
  • mantle{1.10.2-1.1.1.194} [Mantle] (Mantle-1.10.2-1.1.1.jar)
  • tconstruct{1.10.2-2.5.6b.jenkins424} [Tinkers' Construct] (TConstruct-1.10.2-2.5.6b.jar)
  • JEI{3.13.3.372} [Just Enough Items] (jei_1.10.2-3.13.3.372.jar)
  • Botania{r1.9-337} [Botania] (Botania r1.9-337.jar)
commented

I'm half sure that the crash is just cause the items that were "forced" in there aren't a part of the crafting things allowed in the apothecary.

A fix I would think is that any items that aren't usable in crafting would be allowed in the inventory via automated ways (such as this), but then instantly summoned outside of the inventory.

commented

This isn't on my end. The inventory shouldn't even show up in the first place.