public class TriggerInventoryLevel extends BCStatement implements ITriggerExternal
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerInventoryLevel.TriggerType |
| Modifier and Type | Field and Description |
|---|---|
TriggerInventoryLevel.TriggerType |
type |
uniqueTag| Constructor and Description |
|---|
TriggerInventoryLevel(TriggerInventoryLevel.TriggerType type) |
| Modifier and Type | Method and Description |
|---|---|
IStatementParameter |
createParameter(int index)
Create parameters for the statement.
|
java.lang.String |
getDescription()
Return the description in the UI.
|
IStatement[] |
getPossible()
This returns a group of related statements.
|
SpriteHolderRegistry.SpriteHolder |
getSprite() |
boolean |
isTriggerActive(net.minecraft.tileentity.TileEntity tile,
net.minecraft.util.EnumFacing side,
IStatementContainer container,
IStatementParameter[] parameters) |
int |
maxParameters()
Return the maximum number of parameter this statement can have, 0 if none.
|
getParam, getUniqueTag, minParameters, rotateLeftclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateParameter, isPossibleOrdered, minParameters, rotateLeftgetTooltip, getUniqueTagconvertTopublic TriggerInventoryLevel.TriggerType type
public TriggerInventoryLevel(TriggerInventoryLevel.TriggerType type)
public int maxParameters()
IStatementmaxParameters in interface IStatementmaxParameters in class BCStatementpublic SpriteHolderRegistry.SpriteHolder getSprite()
public java.lang.String getDescription()
IGuiSlotIGuiSlot.getTooltip(). (As such this might return null or throw an exception)getDescription in interface IGuiSlotpublic boolean isTriggerActive(net.minecraft.tileentity.TileEntity tile,
net.minecraft.util.EnumFacing side,
IStatementContainer container,
IStatementParameter[] parameters)
isTriggerActive in interface ITriggerExternalpublic IStatementParameter createParameter(int index)
IStatementcreateParameter in interface IStatementcreateParameter in class BCStatementpublic IStatement[] getPossible()
IStatementgetPossible in interface IStatementgetPossible in class BCStatement