-
-
Notifications
You must be signed in to change notification settings - Fork 5
Developer API
Domenico edited this page Jun 27, 2019
·
16 revisions
If you don't have Custom Items, you can still include the Custom Items API in your plugin! Just use this placeholder jar:
https://github.com/jojodmo/CustomItems/blob/master/API/CustomItemsAPI_PLACEHOLDER.jar Note that this is non-functional, but when a server with Custom Items installed uses your plugin, the API will work as intended!
The API can be accessed using the class
com.jojodmo.customitems.api.CustomItemsAPI
Each method has JavaDocs attached, so you can read the documentation by looking at those. The most important methods are:
ItemStack getCustomItem(String id)and
String getCustomItemID(ItemStack stack)You can also view the source code of the API here: https://github.com/jojodmo/CustomItems/blob/master/API/CustomItemsAPI.java
Custom Items — Design New Items and Blocks with New Textures, Recipes & Triggers
Available for 10% off on Polymart.org at https://polymart.org/r/1/CustomItems