Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.9.4] EnumHelper.addArmorMaterial crash


Noppes
 Share

Recommended Posts

Apparently the ItemArmor.ArmorMaterial enum requires an extra toughness value in 1.9.4 so currently it crashes

 

 

 

java.lang.RuntimeException: net.minecraft.item.ItemArmor$ArmorMaterial.<init>(java.lang.String, int, java.lang.String, int, [i, int, net.minecraft.util.SoundEvent)

at net.minecraftforge.common.util.EnumHelper.addEnum(EnumHelper.java:347) ~[forgeSrc-1.9.4-12.17.0.1917-1.9.4-PROJECT(customnpcs).jar:?]

at net.minecraftforge.common.util.EnumHelper.addEnum(EnumHelper.java:217) ~[forgeSrc-1.9.4-12.17.0.1917-1.9.4-PROJECT(customnpcs).jar:?]

at net.minecraftforge.common.util.EnumHelper.addEnum(EnumHelper.java:203) ~[forgeSrc-1.9.4-12.17.0.1917-1.9.4-PROJECT(customnpcs).jar:?]

at net.minecraftforge.common.util.EnumHelper.addEnum(EnumHelper.java:189) ~[forgeSrc-1.9.4-12.17.0.1917-1.9.4-PROJECT(customnpcs).jar:?]

at net.minecraftforge.common.util.EnumHelper.addArmorMaterial(EnumHelper.java:63) ~[forgeSrc-1.9.4-12.17.0.1917-1.9.4-PROJECT(customnpcs).jar:?]

 

Link to comment
Share on other sites

Apparently the ItemArmor.ArmorMaterial enum requires an extra toughness value in 1.9.4 so currently it crashes

 

 

 

java.lang.RuntimeException: net.minecraft.item.ItemArmor$ArmorMaterial.<init>(java.lang.String, int, java.lang.String, int, [i, int, net.minecraft.util.SoundEvent)

at net.minecraftforge.common.util.EnumHelper.addEnum(EnumHelper.java:347) ~[forgeSrc-1.9.4-12.17.0.1917-1.9.4-PROJECT(customnpcs).jar:?]

at net.minecraftforge.common.util.EnumHelper.addEnum(EnumHelper.java:217) ~[forgeSrc-1.9.4-12.17.0.1917-1.9.4-PROJECT(customnpcs).jar:?]

at net.minecraftforge.common.util.EnumHelper.addEnum(EnumHelper.java:203) ~[forgeSrc-1.9.4-12.17.0.1917-1.9.4-PROJECT(customnpcs).jar:?]

at net.minecraftforge.common.util.EnumHelper.addEnum(EnumHelper.java:189) ~[forgeSrc-1.9.4-12.17.0.1917-1.9.4-PROJECT(customnpcs).jar:?]

at net.minecraftforge.common.util.EnumHelper.addArmorMaterial(EnumHelper.java:63) ~[forgeSrc-1.9.4-12.17.0.1917-1.9.4-PROJECT(customnpcs).jar:?]

 

Link to comment
Share on other sites

Ah I found it strange that there was no bug report of this yet. I couldnt have guessed bug reports where in the modder support, though I could have checked the issues tracker.

 

Thanks for letting me know. Guess Ill use EnumHelper.addEnum for now

Link to comment
Share on other sites

Ah I found it strange that there was no bug report of this yet. I couldnt have guessed bug reports where in the modder support, though I could have checked the issues tracker.

 

Thanks for letting me know. Guess Ill use EnumHelper.addEnum for now

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.