FANDOM


Creating an ItemEdit

To create an Item, add this line to your code:

registerItem(int id, String name, Item item);

Replace "int id" with a free Item ID.

Replace "String name" with the name of your item, such as "Rocket Launcher".

Replace "Item item" with the class name of your Item, such as "ItemRocketLauncher".