public class SpongeItemStack extends Object implements IItemStack
| Constructor and Description |
|---|
SpongeItemStack(org.spongepowered.api.item.inventory.ItemStack itemStack) |
| Modifier and Type | Method and Description |
|---|---|
IItemStack |
clone() |
<T> T |
get()
upwrap this interface.
|
<T> T |
getType()
Returns the ItemType
|
public SpongeItemStack(org.spongepowered.api.item.inventory.ItemStack itemStack)
public <T> T get()
IScriptObjectget in interface IScriptObjectpublic <T> T getType()
getType in interface IItemStackpublic IItemStack clone()
clone in interface IItemStackclone in class Object