Posted June 19, 201510 yr Hi guys. I'm developing a mod with more weapons, mob and others stuffs. I want add scythe, battle axe and greatsword, but i don't know how to do this. Can anyone help me?
June 20, 201510 yr Hi Create basic items in whatever class your using to register your items in, register your renders in your client proxy, set your item properties in your item constructor or registry, have your items extend ItemSword, ItemAxe, etc. Control what your item does by overriding the Item class' methods such as onItemRightClick(args). Basically all I told you to do was to create new items, plenty of tutorials on that out there. Hope it goes well for you! Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
June 20, 201510 yr BTW if your item is not a sword or axe, you shouldn't be extending ItemSword or ItemAxe, even if those classes are an instance of the Item class(they extend Item). If your item is a plain old item, simply extend Item. You probably already know this, its just that I've seen so many people do this before! Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
June 23, 201510 yr Thanks man Glad I could help! If you need anymore assistance, just let me know. Development of Plugins [2012 - 2014] Development of Mods [2012 - Current]
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.