public class TriggerRedstoneInput extends BCStatement implements ITriggerInternal
| Modifier and Type | Field and Description |
|---|---|
boolean |
active |
uniqueTag| Constructor and Description |
|---|
TriggerRedstoneInput(boolean active) |
| Modifier and Type | Method and Description |
|---|---|
<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.
|
IStatement[] |
getPossible()
This returns a group of related statements.
|
SpriteHolderRegistry.SpriteHolder |
getSprite() |
boolean |
isTriggerActive(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, getUniqueTagpublic SpriteHolderRegistry.SpriteHolder getSprite()
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 BCStatementpublic boolean isTriggerActive(IStatementContainer container, IStatementParameter[] parameters)
isTriggerActive in interface ITriggerInternalpublic IStatement[] getPossible()
IStatementgetPossible in interface IStatementgetPossible in class BCStatementpublic <T> T convertTo(java.lang.Class<T> clazz)
IConvertableconvertTo in interface IConvertable