Jump to content

New Weapons


naulorr

Recommended Posts

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]

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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.