Class BukkitItemStack
java.lang.Object
wtf.choco.veinminer.platform.world.BukkitItemStack
- All Implemented Interfaces:
ItemStack
A Bukkit implementation of
ItemStack
.-
Constructor Details
-
BukkitItemStack
Construct a newBukkitItemStack
.- Parameters:
itemStack
- the bukkit item stack to wrap
-
-
Method Details
-
getType
Description copied from interface:ItemStack
Get theItemType
of this stack. -
getVeinMinerNBTValue
Description copied from interface:ItemStack
Get the value of the VeinMiner-defined NBT key for this stack. The returned value acts as a unique identifier for item stacks that require a specific tag.- Specified by:
getVeinMinerNBTValue
in interfaceItemStack
- Returns:
- the value, or null if not set
-