public class BukkitItemStack extends Object implements IItemStack
Constructor and Description |
---|
BukkitItemStack(org.bukkit.inventory.ItemStack itemStack) |
Modifier and Type | Method and Description |
---|---|
IItemStack |
clone() |
<T> T |
get()
upwrap this interface.
|
<T> T |
getType()
Returns the Material of the item
|
public <T> T get()
IScriptObject
get
in interface IScriptObject
public <T> T getType()
getType
in interface IItemStack
public IItemStack clone()
clone
in interface IItemStack
clone
in class Object