Posted January 18, 20169 yr Id like to create a fairly dynamic sword, which can change its damage values, its durability values and its enchantability values dynamically, based on certain NBTTagCompounds. Normally you'd change the ToolMaterial accordingly but because I need to use the ToolMaterial inside the constructor it has to be static and cant be dynamic, at least not in the way I need it to be. So how would I have to change my code? You can find the code for the SwordTemplate here. http://s27.postimg.org/p15i3wjcz/RI_Top.png[/img]
January 18, 20169 yr Check out this item of mine. All of its material values come from NBT https://github.com/Draco18s/Artifacts/blob/master/main/java/com/draco18s/artifacts/item/ItemArtifact.java 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.
January 25, 20169 yr Author Thank you very much! Gave a good inside how to http://s27.postimg.org/p15i3wjcz/RI_Top.png[/img]
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.