June 12, 20169 yr Author Can I have an example please? And would I make a new class for this or put it in my normal item classes?
June 12, 20169 yr Neither, you would do it in your main mod class in one of the initialization phases. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 12, 20169 yr Author So like this as an example? ItemArmor.ArmorMaterial.IRON.getDamageReductionAmount(0);
June 12, 20169 yr Author Yes and I don't know how to do that in forge, like what would an example be?
June 12, 20169 yr Uh huh. And it has nothing to do with Forge. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 12, 20169 yr Author I know but what I mean is I'm not sure how to use the forge methods with it, like the ItemArmor.ArmorMaterial
June 13, 20169 yr http://lmgtfy.com/?q=how+to+use+java+reflection&l=1 Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 13, 20169 yr Author Can I please have an example of how to do what I asked in the first post? Then I can manage it from there and won't need any more help.
June 13, 20169 yr Showing you an example of modifying armor values would just give you the solution. We don't do copy-paste code answers here. You need to you that thing between your ears. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.