public class ActionPipeSignal extends BCStatement implements IActionInternal
Modifier and Type | Field and Description |
---|---|
net.minecraft.item.EnumDyeColor |
colour |
uniqueTag
Constructor and Description |
---|
ActionPipeSignal(net.minecraft.item.EnumDyeColor colour) |
Modifier and Type | Method and Description |
---|---|
void |
actionActivate(IStatementContainer container,
IStatementParameter[] parameters) |
IStatementParameter |
createParameter(int index)
Create parameters for the statement.
|
java.lang.String |
getDescription()
Return the description in the UI.
|
ActionPipeSignal[] |
getPossible()
This returns a group of related statements.
|
SpriteHolderRegistry.SpriteHolder |
getSprite() |
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 java.lang.String getDescription()
IGuiSlot
IGuiSlot.getTooltip()
. (As such this might return null or throw an exception)getDescription
in interface IGuiSlot
public int maxParameters()
IStatement
maxParameters
in interface IStatement
maxParameters
in class BCStatement
public IStatementParameter createParameter(int index)
IStatement
createParameter
in interface IStatement
createParameter
in class BCStatement
public void actionActivate(IStatementContainer container, IStatementParameter[] parameters)
actionActivate
in interface IActionInternal
public SpriteHolderRegistry.SpriteHolder getSprite()
public ActionPipeSignal[] getPossible()
IStatement
getPossible
in interface IStatement
getPossible
in class BCStatement