@Deprecated public class StatementParameterDirection extends java.lang.Object implements IStatementParameter
IStatementParameter.DrawType
Constructor and Description |
---|
StatementParameterDirection()
Deprecated.
|
StatementParameterDirection(net.minecraft.util.EnumFacing face)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Deprecated.
|
java.lang.String |
getDescription()
Deprecated.
Return the description in the UI.
|
net.minecraft.util.EnumFacing |
getDirection()
Deprecated.
|
net.minecraft.item.ItemStack |
getItemStack()
Deprecated.
|
IStatementParameter[] |
getPossible(IStatementContainer source)
Deprecated.
|
ISprite |
getSprite()
Deprecated.
|
java.lang.String |
getUniqueTag()
Deprecated.
Every statement needs a unique tag, it should be in the format of "<modid>:<name>".
|
int |
hashCode()
Deprecated.
|
IStatementParameter |
onClick(IStatementContainer source,
IStatement stmt,
net.minecraft.item.ItemStack stack,
StatementMouseClick mouse)
Deprecated.
Return a non-null value to be set as the statement parameter if you handled the mouse click and do not want all
possible values to be shown, or null if you did nothing and wish to show all possible values.
|
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
Deprecated.
|
void |
registerIcons(net.minecraft.client.renderer.texture.TextureMap map)
Deprecated.
|
IStatementParameter |
rotateLeft()
Deprecated.
This returns the parameter after a left rotation.
|
void |
writeToNbt(net.minecraft.nbt.NBTTagCompound nbt)
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getDrawType, isPossibleOrdered, writeToBuf
getTooltip
convertTo
public StatementParameterDirection()
public StatementParameterDirection(net.minecraft.util.EnumFacing face)
public void registerIcons(net.minecraft.client.renderer.texture.TextureMap map)
@Nullable public net.minecraft.util.EnumFacing getDirection()
@Nonnull public net.minecraft.item.ItemStack getItemStack()
getItemStack
in interface IStatementParameter
ItemStack
to render for this parameter, or ItemStack.EMPTY
if this should not render
an ItemStack
.public ISprite getSprite()
public IStatementParameter onClick(IStatementContainer source, IStatement stmt, net.minecraft.item.ItemStack stack, StatementMouseClick mouse)
IStatementParameter
onClick
in interface IStatementParameter
IStatementParameter.getPossible(IStatementContainer)
public void writeToNbt(net.minecraft.nbt.NBTTagCompound nbt)
writeToNbt
in interface IStatementParameter
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getDescription()
IGuiSlot
IGuiSlot.getTooltip()
. (As such this might return null or throw an exception)getDescription
in interface IGuiSlot
public java.lang.String getUniqueTag()
IGuiSlot
getUniqueTag
in interface IGuiSlot
public IStatementParameter rotateLeft()
IStatementParameter
rotateLeft
in interface IStatementParameter
public IStatementParameter[] getPossible(IStatementContainer source)
getPossible
in interface IStatementParameter