net.minecraft.src
Class NBTTagString
java.lang.Object
net.minecraft.src.NBTBase
net.minecraft.src.NBTTagString
public class NBTTagString
- extends NBTBase
Field Summary |
String |
data
The string value for the tag (cannot be empty). |
data
public String data
- The string value for the tag (cannot be empty).
NBTTagString
public NBTTagString(String par1Str)
NBTTagString
public NBTTagString(String par1Str,
String par2Str)
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