public abstract class ActionWrapper extends StatementWrapper implements IActionInternal
Modifier and Type | Class and Description |
---|---|
static class |
ActionWrapper.ActionWrapperExternal |
static class |
ActionWrapper.ActionWrapperInternal |
static class |
ActionWrapper.ActionWrapperInternalSided |
Modifier and Type | Field and Description |
---|---|
protected boolean |
isActive |
delegate, sourcePart
Constructor and Description |
---|
ActionWrapper(IAction delegate,
EnumPipePart sourcePart) |
Modifier and Type | Method and Description |
---|---|
void |
actionDeactivated(IStatementContainer source,
IStatementParameter[] parameters) |
IAction |
getDelegate() |
ActionWrapper[] |
getPossible()
This returns a group of related statements.
|
static ActionWrapper |
wrap(IStatement statement,
net.minecraft.util.EnumFacing side) |
compareTo, createParameter, equals, getDescription, getNeighbourTile, getSprite, getTooltip, getUniqueTag, hashCode, isPossibleOrdered, maxParameters, minParameters, rotateLeft
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
actionActivate
createParameter, createParameter, isPossibleOrdered, maxParameters, minParameters, rotateLeft
getDescription, getSprite, getTooltip, getUniqueTag
public ActionWrapper(IAction delegate, EnumPipePart sourcePart)
public IAction getDelegate()
public static ActionWrapper wrap(IStatement statement, net.minecraft.util.EnumFacing side)
public ActionWrapper[] getPossible()
IStatement
getPossible
in interface IStatement
getPossible
in class StatementWrapper
public void actionDeactivated(IStatementContainer source, IStatementParameter[] parameters)