public class WauzDungeonMap extends java.lang.Object implements CustomItem
Constructor and Description |
---|
WauzDungeonMap() |
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 a dungeon map item.
|
public void use(org.bukkit.event.player.PlayerInteractEvent event)
use
in interface CustomItem
event
- The interaction event.WauzTeleporter.enterInstanceTeleportManual(PlayerInteractEvent)
public java.util.List<org.bukkit.Material> getCustomItemMaterials()
getCustomItemMaterials
in interface CustomItem