public interface IStatement extends IGuiSlot
ITriggerExternal
,
ITriggerInternal
, IActionExternal
or IActionInternal
though.Modifier and Type | Method and Description |
---|---|
IStatementParameter |
createParameter(int index)
Create parameters for the statement.
|
default IStatementParameter |
createParameter(IStatementParameter old,
int index)
Creates a parameter for the given index, optionally returning the old param if it is still valid.
|
IStatement[] |
getPossible()
This returns a group of related statements.
|
default boolean |
isPossibleOrdered() |
int |
maxParameters()
Return the maximum number of parameter this statement can have, 0 if none.
|
int |
minParameters()
Return the minimum number of parameter this statement can have, 0 if none.
|
IStatement |
rotateLeft()
This returns the statement after a left rotation.
|
getDescription, getSprite, getTooltip, getUniqueTag
convertTo
int maxParameters()
int minParameters()
IStatementParameter createParameter(int index)
default IStatementParameter createParameter(IStatementParameter old, int index)
StatementParameterItemStack
from
createParameter(int)
and require the stack to match a filter, but the incoming stack might not.old
- index
- IStatement rotateLeft()
IStatement[] getPossible()
default boolean isPossibleOrdered()