public class TriggerFluidContainer extends BCTrigger implements ITileTrigger
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerFluidContainer.State |
| Modifier and Type | Field and Description |
|---|---|
TriggerFluidContainer.State |
state |
| Constructor and Description |
|---|
TriggerFluidContainer(TriggerFluidContainer.State state) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Return the trigger description in the UI
|
int |
getIconIndex() |
boolean |
hasParameter()
Return true if this trigger can accept parameters
|
boolean |
isTriggerActive(net.minecraftforge.common.util.ForgeDirection side,
net.minecraft.tileentity.TileEntity tile,
ITriggerParameter parameter)
Return true if the tile given in parameter activates the trigger, given
the parameters.
|
ITrigger |
rotateLeft()
This returns the trigger after a left rotation.
|
createParameter, getIcon, getUniqueTag, registerIcons, requiresParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateParameter, getIcon, getUniqueTag, registerIcons, requiresParameterpublic TriggerFluidContainer.State state
public TriggerFluidContainer(TriggerFluidContainer.State state)
public boolean hasParameter()
ITriggerhasParameter in interface ITriggerhasParameter in class BCTriggerpublic java.lang.String getDescription()
ITriggergetDescription in interface ITriggergetDescription in class BCTriggerpublic boolean isTriggerActive(net.minecraftforge.common.util.ForgeDirection side,
net.minecraft.tileentity.TileEntity tile,
ITriggerParameter parameter)
ITileTriggerisTriggerActive in interface ITileTriggerpublic int getIconIndex()
getIconIndex in class BCTriggerpublic ITrigger rotateLeft()
ITriggerrotateLeft in interface ITrigger