public interface IStatement
| Modifier and Type | Method and Description |
|---|---|
IStatementParameter |
createParameter(int index)
Create parameters for the statement.
|
java.lang.String |
getDescription()
Return the statement description in the UI
|
net.minecraft.util.IIcon |
getIcon() |
java.lang.String |
getUniqueTag()
Every statement needs a unique tag, it should be in the format of
"<modid>:<name>.
|
int |
maxParameters()
Return the maximum number of parameter this statement can have, 0 if none.
|
int |
minParameters()
Return the minimum number of parameter this statement can have, 0 if none.
|
void |
registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister) |
IStatement |
rotateLeft()
This returns the statement after a left rotation.
|
java.lang.String getUniqueTag()
net.minecraft.util.IIcon getIcon()
void registerIcons(net.minecraft.client.renderer.texture.IIconRegister iconRegister)
int maxParameters()
int minParameters()
java.lang.String getDescription()
IStatementParameter createParameter(int index)
IStatement rotateLeft()