Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.src
Class NBTTagShort

    java.lang.Object
      net.minecraft.src.NBTBase
          net.minecraft.src.NBTTagShort

    public class NBTTagShort

extends NBTBase

Field Summary
`short` | `data` The short value for the tag.

Fields inherited from class net.minecraft.src.NBTBase
`NBTTypes`

Constructor Summary
`NBTTagShort(String par1Str)`
`NBTTagShort(String par1Str, short par2)`

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.src.NBTBase
`getName, getTagName, newTag, readNamedTag, setName, writeNamedTag`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### data

    public short data

  The short value for the tag.

Constructor Detail

### NBTTagShort

    public NBTTagShort(String par1Str)

### NBTTagShort

    public NBTTagShort(String par1Str,
                       short par2)

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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD