net.minecraft.nbt
Class NBTTagInt
java.lang.Object
net.minecraft.nbt.NBTBase
net.minecraft.nbt.NBTTagInt
public class NBTTagInt
- extends NBTBase
Field Summary |
int |
data
The integer value for the tag. |
data
public int data
- The integer value for the tag.
NBTTagInt
public NBTTagInt(String par1Str)
NBTTagInt
public NBTTagInt(String par1Str,
int par2)
getId
public byte getId()
- Gets the type byte for the tag.
- Specified by:
getId
in class NBTBase
toString
public String toString()
- Overrides:
toString
in class Object
copy
public NBTBase copy()
- Creates a clone of the tag.
- Specified by:
copy
in class NBTBase
equals
public boolean equals(Object par1Obj)
- Overrides:
equals
in class NBTBase
hashCode
public int hashCode()
- Overrides:
hashCode
in class NBTBase