Class CompoundTag

java.lang.Object
net.citizensnpcs.api.jnbt.Tag
net.citizensnpcs.api.jnbt.CompoundTag

public final class CompoundTag extends Tag
The TAG_Compound tag.
  • Constructor Details

    • CompoundTag

      public CompoundTag(String name)
    • CompoundTag

      public CompoundTag(String name, Map<String,Tag> value)
      Creates the tag.
      Parameters:
      name - The name.
      value - The value.
  • Method Details

    • getValue

      public Map<String,Tag> getValue()
      Description copied from class: Tag
      Gets the value of this tag.
      Specified by:
      getValue in class Tag
      Returns:
      The value of this tag.
    • toString

      public String toString()
      Overrides:
      toString in class Object