public class TriggerMachine extends BCStatement implements ITriggerExternal
Modifier and Type | Field and Description |
---|---|
boolean |
active |
uniqueTag
Constructor and Description |
---|
TriggerMachine(boolean active) |
Modifier and Type | Method and Description |
---|---|
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) |
createParameter, getParam, getUniqueTag, maxParameters, minParameters, rotateLeft
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createParameter, createParameter, isPossibleOrdered, maxParameters, minParameters, rotateLeft
getTooltip, getUniqueTag
public java.lang.String getDescription()
IGuiSlot
getDescription
in interface IGuiSlot
public SpriteHolderRegistry.SpriteHolder getSprite()
public boolean isTriggerActive(net.minecraft.tileentity.TileEntity tile, net.minecraft.util.EnumFacing side, IStatementContainer container, IStatementParameter[] parameters)
isTriggerActive
in interface ITriggerExternal
public IStatement[] getPossible()
IStatement
getPossible
in interface IStatement
getPossible
in class BCStatement