public class TriggerFluidContainer extends BCStatement implements ITriggerExternal
Modifier and Type | Class and Description |
---|---|
static class |
TriggerFluidContainer.State |
Modifier and Type | Field and Description |
---|---|
TriggerFluidContainer.State |
state |
uniqueTag
Constructor and Description |
---|
TriggerFluidContainer(TriggerFluidContainer.State state) |
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 statementContainer,
IStatementParameter[] parameters) |
int |
maxParameters()
Return the maximum number of parameter this statement can have, 0 if none.
|
getParam, getUniqueTag, minParameters, rotateLeft
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createParameter, isPossibleOrdered, minParameters, rotateLeft
getTooltip, getUniqueTag
convertTo
public TriggerFluidContainer.State state
public TriggerFluidContainer(TriggerFluidContainer.State state)
public SpriteHolderRegistry.SpriteHolder getSprite()
public int maxParameters()
IStatement
maxParameters
in interface IStatement
maxParameters
in class BCStatement
public java.lang.String getDescription()
IGuiSlot
IGuiSlot.getTooltip()
. (As such this might return null or throw an exception)getDescription
in interface IGuiSlot
public boolean isTriggerActive(net.minecraft.tileentity.TileEntity tile, net.minecraft.util.EnumFacing side, IStatementContainer statementContainer, IStatementParameter[] parameters)
isTriggerActive
in interface ITriggerExternal
public IStatementParameter createParameter(int index)
IStatement
createParameter
in interface IStatement
createParameter
in class BCStatement
public IStatement[] getPossible()
IStatement
getPossible
in interface IStatement
getPossible
in class BCStatement