public class TriggerInventory extends BCStatement implements ITriggerExternal
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerInventory.State |
| Modifier and Type | Field and Description |
|---|---|
TriggerInventory.State |
state |
icon, uniqueTag| Constructor and Description |
|---|
TriggerInventory(TriggerInventory.State state) |
| Modifier and Type | Method and Description |
|---|---|
IStatementParameter |
createParameter(int index)
Create parameters for the statement.
|
java.lang.String |
getDescription()
Return the statement description in the UI
|
boolean |
isTriggerActive(net.minecraft.tileentity.TileEntity tile,
net.minecraftforge.common.util.ForgeDirection side,
IStatementContainer container,
IStatementParameter[] parameters) |
int |
maxParameters()
Return the maximum number of parameter this statement can have, 0 if none.
|
void |
registerIcons(net.minecraft.client.renderer.texture.IIconRegister register) |
getIcon, getUniqueTag, minParameters, rotateLeftclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIcon, getUniqueTag, minParameters, rotateLeftpublic TriggerInventory.State state
public TriggerInventory(TriggerInventory.State state)
public int maxParameters()
IStatementmaxParameters in interface IStatementmaxParameters in class BCStatementpublic java.lang.String getDescription()
IStatementgetDescription in interface IStatementgetDescription in class BCStatementpublic boolean isTriggerActive(net.minecraft.tileentity.TileEntity tile,
net.minecraftforge.common.util.ForgeDirection side,
IStatementContainer container,
IStatementParameter[] parameters)
isTriggerActive in interface ITriggerExternalpublic void registerIcons(net.minecraft.client.renderer.texture.IIconRegister register)
registerIcons in interface IStatementregisterIcons in class BCStatementpublic IStatementParameter createParameter(int index)
IStatementcreateParameter in interface IStatementcreateParameter in class BCStatement