net.minecraft.nbt

## Class NBTTagLong

- java.lang.Object
- - net.minecraft.nbt.NBTBase
  - - net.minecraft.nbt.NBTTagLong

-     public class NBTTagLong
      extends NBTBase

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `long` | `data` The long value for the tag.

    - ### Fields inherited from class net.minecraft.nbt.NBTBase

      `NBTTypes`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NBTTagLong(String par1Str)`
    `NBTTagLong(String par1Str, long par2)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

      `func_130104_b, getName, getTagName, newTag, readNamedTag, setName, writeNamedTag`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### data

          public long data

      The long value for the tag.

  - ### Constructor Detail

    - #### NBTTagLong

          public NBTTagLong(String par1Str)

    - #### NBTTagLong

          public NBTTagLong(String par1Str,
                    long 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`