public abstract class BCStatement extends java.lang.Object implements IStatement
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.util.IIcon |
icon |
protected java.lang.String |
uniqueTag |
| Constructor and Description |
|---|
BCStatement(java.lang.String... uniqueTag)
UniqueTag accepts multiple possible tags, use this feature to migrate to
more standardized tags if needed, otherwise just pass a single string.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Return the trigger description in the UI
|
net.minecraft.util.IIcon |
getIcon() |
int |
getIconIndex() |
java.lang.String |
getUniqueTag()
Every trigger needs a unique tag, it should be in the format of
"
|
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.
|
void |
registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
IStatement |
rotateLeft()
This returns the trigger after a left rotation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateParameterprotected final java.lang.String uniqueTag
protected net.minecraft.util.IIcon icon
public BCStatement(java.lang.String... uniqueTag)
uniqueTag - public java.lang.String getUniqueTag()
IStatementgetUniqueTag in interface IStatementpublic int getIconIndex()
public net.minecraft.util.IIcon getIcon()
getIcon in interface IStatementpublic void registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
registerIcons in interface IStatementpublic int maxParameters()
IStatementmaxParameters in interface IStatementpublic int minParameters()
IStatementminParameters in interface IStatementpublic java.lang.String getDescription()
IStatementgetDescription in interface IStatementpublic IStatement rotateLeft()
IStatementrotateLeft in interface IStatement