Posted June 2, 20169 yr If someone knows a tutorial on how to add tools and armor in 1.9 please tell me http://i.imgur.com/J4rrGt6.png[/img]
June 2, 20169 yr Hi The mentioned youtuber I found after a quick google search is from germany and thus his tutorials are in german, but feel free to check him out: https://www.youtube.com/user/HyCraftLP Furthermore I suggest to investigate the vanilla code, it is pretty straight forward what to do. Sincerely -pick Since English is not my mother tongue, my sentences may are confusing. I'm coding java for a long time now - just MC and forge stop me sometimes.
June 4, 20169 yr You can look at a project I am working on if you'd like It has more than tools and armor but one thing to note is ItemArmor.addArmorMaterial was/is broken. So you have to add the enum manually with EnumHelper.addEnum in replacement of the broken one. Anyways, I hope this is helpful and here is the link to a working example armor class I made. https://github.com/SeqSEE/HempFarmer/blob/master/src/main/java/com/mch/hempfarmer/item/HFArmor.java
June 4, 20169 yr EnumHelper.addArmorMaterial was briefly broken in 1.9.4, but it was fixed a while ago. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
June 4, 20169 yr EnumHelper.addArmorMaterial was briefly broken in 1.9.4, but it was fixed a while ago. I had not known that. Good to know and tested and you are totally right!! EnumHelper.addArmorMaterial works like a charm
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.