Jump to content

Recommended Posts

Posted

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:?]

 

Posted

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:?]

 

Posted

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

Posted

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

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.