public interface CustomItem
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.bukkit.Material> |
getCustomItemMaterials()
Returns the materials that trigger events with the item.
|
void |
use(org.bukkit.event.player.PlayerInteractEvent event)
Handles the interaction with the item.
|
void use(org.bukkit.event.player.PlayerInteractEvent event)
event - The interaction event.java.util.List<org.bukkit.Material> getCustomItemMaterials()