public class ActionValve extends BCActionActive
| 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(IGate gate,
IActionParameter[] parameters) |
IActionParameter |
createParameter(int index)
Create parameters for the trigger.
|
java.lang.String |
getDescription()
Return the trigger description in the UI
|
int |
maxParameters()
Return the maximum number of parameter this trigger can have, 0 if none.
|
int |
minParameters()
Return the minimum number of parameter this trigger can have, 0 if none.
|
void |
registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
getIcon, getIconIndex, 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 IActionParameter createParameter(int index)
IStatementcreateParameter in interface IStatementcreateParameter in class BCActionActivepublic void actionActivate(IGate gate, IActionParameter[] parameters)