public class TriggerParameter extends java.lang.Object implements ITriggerParameter
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.item.ItemStack |
stack |
| Constructor and Description |
|---|
TriggerParameter() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
getItem()
Deprecated.
|
net.minecraft.item.ItemStack |
getItemStack() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound compound) |
void |
set(net.minecraft.item.ItemStack stack) |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound compound) |
public net.minecraft.item.ItemStack getItemStack()
getItemStack in interface ITriggerParameterpublic void set(net.minecraft.item.ItemStack stack)
set in interface ITriggerParameterpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound compound)
writeToNBT in interface ITriggerParameterpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound compound)
readFromNBT in interface ITriggerParameter@Deprecated public net.minecraft.item.ItemStack getItem()
getItem in interface ITriggerParameter