Botania (Fabric/Quilt)

Botania (Fabric/Quilt)

5M Downloads

Crash in Creative Mode, when switching to Botania Creative Tab. Caused by ItemEnderDagger

JaSpr opened this issue ยท 8 comments

commented

When in creative mode, if I click the Botania Creative Tab, Minecraft immediately crashes. This happens for builds 339 as well as 340 (no other builds were tested). Both of the crash reports reference the ItemEnderDagger class at line 66.

gist: Crash Reports for builds 339 and 340

commented

Did some research, and the NoSuchFieldError (from the crash reports) references field_185050_h, which is the Vanilla UUID for "Attack Speed Modifier". It can be found in Item as Item.field_185050_h.

commented

does it happen on newer forge?

commented

Yes. This happens with Botania r1.9-341 on Forge 2.18.3.2544

Latest crash report.

commented

Can you post your modlist? There's pretty much no way this should be happening 0.o

commented

Oh this is a dev/mcp environment, that might be why. Make sure your mappings are new enough

commented

Just happened with Botania r1.9-341 on Forge 2.18.3.2185. About to test latest forge.

commented

shouldn't be a problem anymore in 1.12

commented

I have a similary problem with minecraft 1.12.2, forge-14.23.1.2604 and botania r1.10-353

  • I have set up an eclipse environment with this version of forge and the latest mapping.
  • downloaded the latest version of botania and imported it as referenced library.

When I do it I can't launch minecraft from eclipse because it crash during the init phase with :

java.lang.NoSuchFieldError: field_185050_h
at vazkii.botania.common.item.equipment.tool.ItemEnderDagger.getItemAttributeModifiers(ItemEnderDagger.java:66)

However I can compile it with gradle and launch it but it's a pain to have to compile my mod and test it in another minecraft every time I change a line of code.