net.minecraft.nbt
Class NBTTagByteArray

java.lang.Object
  extended by net.minecraft.nbt.NBTBase
      extended by net.minecraft.nbt.NBTTagByteArray

public class NBTTagByteArray
extends NBTBase


Field Summary
 byte[] byteArray
          The byte array stored in the tag.
 
Fields inherited from class net.minecraft.nbt.NBTBase
NBTTypes
 
Constructor Summary
NBTTagByteArray(String par1Str)
           
NBTTagByteArray(String par1Str, byte[] par2ArrayOfByte)
           
 
Method Summary
 NBTBase copy()
          Creates a clone of the tag.
 boolean equals(Object par1Obj)
           
 byte getId()
          Gets the type byte for the tag.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class net.minecraft.nbt.NBTBase
getName, getTagName, newTag, readNamedTag, setName, writeNamedTag
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

byteArray

public byte[] byteArray
The byte array stored in the tag.

Constructor Detail

NBTTagByteArray

public NBTTagByteArray(String par1Str)

NBTTagByteArray

public NBTTagByteArray(String par1Str,
                       byte[] par2ArrayOfByte)
Method Detail

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