public class TriggerPipeContents extends BCTrigger implements IPipeTrigger
| Modifier and Type | Class and Description |
|---|---|
static class |
TriggerPipeContents.PipeContents |
| Constructor and Description |
|---|
TriggerPipeContents(TriggerPipeContents.PipeContents kind) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Return the trigger description in the UI
|
net.minecraft.util.IIcon |
getIcon() |
boolean |
hasParameter()
Return true if this trigger can accept parameters
|
boolean |
isTriggerActive(Pipe pipe,
ITriggerParameter parameter) |
void |
registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
ITrigger |
rotateLeft()
This returns the trigger after a left rotation.
|
createParameter, getIconIndex, getUniqueTag, requiresParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateParameter, getUniqueTag, requiresParameterpublic TriggerPipeContents(TriggerPipeContents.PipeContents kind)
public boolean hasParameter()
ITriggerhasParameter in interface ITriggerhasParameter in class BCTriggerpublic java.lang.String getDescription()
ITriggergetDescription in interface ITriggergetDescription in class BCTriggerpublic boolean isTriggerActive(Pipe pipe, ITriggerParameter parameter)
isTriggerActive in interface IPipeTriggerpublic net.minecraft.util.IIcon getIcon()
public void registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerIcons in interface ITriggerregisterIcons in class BCTriggerpublic ITrigger rotateLeft()
ITriggerrotateLeft in interface ITrigger