Class BukkitItemType
java.lang.Object
wtf.choco.veinminer.platform.world.BukkitItemType
- All Implemented Interfaces:
ItemType
A Bukkit implementation of
ItemType
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull NamespacedKey
getKey()
Get theNamespacedKey
of thisItemType
.@NotNull Material
Get the BukkitMaterial
represented by thisBukkitItemType
.int
hashCode()
static @NotNull ItemType
toString()
-
Method Details
-
getKey
Description copied from interface:ItemType
Get theNamespacedKey
of thisItemType
. -
getMaterial
Get the BukkitMaterial
represented by thisBukkitItemType
.- Returns:
- the material
-
of
- Parameters:
material
- the material- Returns:
- the item type
-
hashCode
public int hashCode() -
equals
-
toString
-