public class TriggerEnergy extends BCStatement implements ITriggerInternal
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerEnergy.Neighbor |
icon, uniqueTag| Constructor and Description |
|---|
TriggerEnergy(boolean high) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Return the statement description in the UI
|
static TriggerEnergy.Neighbor |
getTriggeringNeighbor(net.minecraft.tileentity.TileEntity parent) |
protected boolean |
isActive(java.lang.Object tile,
net.minecraftforge.common.util.ForgeDirection side) |
boolean |
isTriggerActive(IStatementContainer source,
IStatementParameter[] parameters) |
protected static boolean |
isTriggered(java.lang.Object tile,
net.minecraftforge.common.util.ForgeDirection side) |
static boolean |
isTriggeringPipe(net.minecraft.tileentity.TileEntity tile) |
void |
registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
createParameter, getIcon, getUniqueTag, maxParameters, minParameters, rotateLeftclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateParameter, getIcon, getUniqueTag, maxParameters, minParameters, rotateLeftpublic java.lang.String getDescription()
IStatementgetDescription in interface IStatementgetDescription in class BCStatementprotected static boolean isTriggered(java.lang.Object tile,
net.minecraftforge.common.util.ForgeDirection side)
protected boolean isActive(java.lang.Object tile,
net.minecraftforge.common.util.ForgeDirection side)
public static boolean isTriggeringPipe(net.minecraft.tileentity.TileEntity tile)
public void registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerIcons in interface IStatementregisterIcons in class BCStatementpublic boolean isTriggerActive(IStatementContainer source, IStatementParameter[] parameters)
isTriggerActive in interface ITriggerInternalpublic static TriggerEnergy.Neighbor getTriggeringNeighbor(net.minecraft.tileentity.TileEntity parent)