public class ActionRedstoneOutput extends BCStatement implements IActionInternal
uniqueTag| Modifier | Constructor and Description |
|---|---|
|
ActionRedstoneOutput() |
protected |
ActionRedstoneOutput(java.lang.String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionActivate(IStatementContainer source,
IStatementParameter[] parameters) |
<T> T |
convertTo(java.lang.Class<T> clazz)
Attempts to convert this object to the given class.
|
IStatementParameter |
createParameter(int index)
Create parameters for the statement.
|
java.lang.String |
getDescription()
Return the description in the UI.
|
protected int |
getRGSOSlot() |
protected int |
getSignalLevel(IStatementParameter[] parameters) |
SpriteHolderRegistry.SpriteHolder |
getSprite() |
protected boolean |
isSideOnly(IStatementParameter[] parameters) |
int |
maxParameters()
Return the maximum number of parameter this statement can have, 0 if none.
|
getParam, getPossible, getUniqueTag, minParameters, rotateLeftclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateParameter, getPossible, isPossibleOrdered, minParameters, rotateLeftgetTooltip, getUniqueTagprotected ActionRedstoneOutput(java.lang.String s)
public ActionRedstoneOutput()
public java.lang.String getDescription()
IGuiSlotIGuiSlot.getTooltip(). (As such this might return null or throw an exception)getDescription in interface IGuiSlotpublic IStatementParameter createParameter(int index)
IStatementcreateParameter in interface IStatementcreateParameter in class BCStatementpublic int maxParameters()
IStatementmaxParameters in interface IStatementmaxParameters in class BCStatementprotected boolean isSideOnly(IStatementParameter[] parameters)
public void actionActivate(IStatementContainer source, IStatementParameter[] parameters)
actionActivate in interface IActionInternalprotected int getRGSOSlot()
protected int getSignalLevel(IStatementParameter[] parameters)
public SpriteHolderRegistry.SpriteHolder getSprite()
public <T> T convertTo(java.lang.Class<T> clazz)
IConvertableconvertTo in interface IConvertable