Class LongTag

java.lang.Object
com.sk89q.jnbt.Tag
com.sk89q.jnbt.LongTag
All Implemented Interfaces:
com.sk89q.worldedit.util.nbt.BinaryTagLike

@Deprecated public final class LongTag extends Tag
Deprecated.
Use LongBinaryTag.
The TAG_Long tag.
  • Constructor Summary

    Constructors
    Constructor
    Description
    LongTag(long value)
    Deprecated.
    Creates the tag with an empty name.
    LongTag(com.sk89q.worldedit.util.nbt.LongBinaryTag adventureTag)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sk89q.worldedit.util.nbt.LongBinaryTag
    Deprecated.
     
    int
    Deprecated.
     
    Deprecated.
    Gets the value of this tag.

    Methods inherited from class com.sk89q.jnbt.Tag

    toRaw, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LongTag

      public LongTag(long value)
      Deprecated.
      Creates the tag with an empty name.
      Parameters:
      value - the value of the tag
    • LongTag

      public LongTag(com.sk89q.worldedit.util.nbt.LongBinaryTag adventureTag)
      Deprecated.
  • Method Details

    • asBinaryTag

      public com.sk89q.worldedit.util.nbt.LongBinaryTag asBinaryTag()
      Deprecated.
    • getValue

      public Long getValue()
      Deprecated.
      Description copied from class: Tag
      Gets the value of this tag.
      Specified by:
      getValue in class Tag
      Returns:
      the value
    • getTypeCode

      public int getTypeCode()
      Deprecated.
      Specified by:
      getTypeCode in class Tag