Class StringTag

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

@Deprecated public final class StringTag extends Tag
Deprecated.
Use StringBinaryTag.
The TAG_String tag.
  • Constructor Summary

    Constructors
    Constructor
    Description
    StringTag​(com.sk89q.worldedit.util.nbt.StringBinaryTag adventureTag)
    Deprecated.
     
    StringTag​(String value)
    Deprecated.
    Creates the tag with an empty name.
  • Method Summary

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

    Methods inherited from class com.sk89q.jnbt.Tag

    toString

    Methods inherited from class java.lang.Object

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

    • StringTag

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

      public StringTag(com.sk89q.worldedit.util.nbt.StringBinaryTag adventureTag)
      Deprecated.
  • Method Details

    • asBinaryTag

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

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