Class NamedTag

java.lang.Object
com.sk89q.jnbt.NamedTag

public class NamedTag extends Object
A tag that has a name.
  • Constructor Details

    • NamedTag

      public NamedTag(String name, Tag tag)
      Create a new named tag.
      Parameters:
      name - the name
      tag - the tag
  • Method Details

    • getName

      public String getName()
      Get the name of the tag.
      Returns:
      the name
    • getTag

      public Tag getTag()
      Get the tag.
      Returns:
      the tag