public class TriggerInventoryLevel extends BCTrigger
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerInventoryLevel.TriggerType |
| Modifier and Type | Field and Description |
|---|---|
TriggerInventoryLevel.TriggerType |
type |
icon, uniqueTag| Constructor and Description |
|---|
TriggerInventoryLevel(TriggerInventoryLevel.TriggerType type) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Return the trigger description in the UI
|
int |
getIconIndex() |
boolean |
isTriggerActive(net.minecraftforge.common.util.ForgeDirection side,
net.minecraft.tileentity.TileEntity tile,
ITriggerParameter parameter) |
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.
|
createParameter, isTriggerActivegetIcon, getUniqueTag, registerIcons, rotateLeftclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIcon, getUniqueTag, registerIcons, rotateLeftpublic TriggerInventoryLevel.TriggerType type
public TriggerInventoryLevel(TriggerInventoryLevel.TriggerType type)
public int maxParameters()
IStatementmaxParameters in interface IStatementmaxParameters in class BCStatementpublic int minParameters()
IStatementminParameters in interface IStatementminParameters in class BCStatementpublic java.lang.String getDescription()
IStatementgetDescription in interface IStatementgetDescription in class BCStatementpublic boolean isTriggerActive(net.minecraftforge.common.util.ForgeDirection side,
net.minecraft.tileentity.TileEntity tile,
ITriggerParameter parameter)
isTriggerActive in class BCTriggerpublic int getIconIndex()
getIconIndex in class BCStatement