public class ActionValve extends BCStatement implements IActionInternal
| Modifier and Type | Class and Description |
|---|---|
static class |
ActionValve.ValveState |
| Modifier and Type | Field and Description |
|---|---|
ActionValve.ValveState |
state |
icon, uniqueTag| Constructor and Description |
|---|
ActionValve(ActionValve.ValveState valveState) |
| 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 statement description in the UI
|
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.
|
void |
registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
getIcon, getUniqueTag, rotateLeftclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIcon, getUniqueTag, rotateLeftpublic final ActionValve.ValveState state
public ActionValve(ActionValve.ValveState valveState)
public java.lang.String getDescription()
IStatementgetDescription in interface IStatementgetDescription in class BCStatementpublic void registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerIcons in interface IStatementregisterIcons in class BCStatementpublic int maxParameters()
IStatementmaxParameters in interface IStatementmaxParameters in class BCStatementpublic int minParameters()
IStatementminParameters in interface IStatementminParameters in class BCStatementpublic IStatementParameter createParameter(int index)
IStatementcreateParameter in interface IStatementcreateParameter in class BCStatementpublic void actionActivate(IStatementContainer container, IStatementParameter[] parameters)
actionActivate in interface IActionInternal