Package net.citizensnpcs.api.jnbt
Class Tag
java.lang.Object
net.citizensnpcs.api.jnbt.Tag
- Direct Known Subclasses:
ByteArrayTag
,ByteTag
,CompoundTag
,DoubleTag
,EndTag
,FloatTag
,IntArrayTag
,IntTag
,ListTag
,LongTag
,ShortTag
,StringTag
Represents a single NBT tag.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Tag
Creates the tag with the specified name.- Parameters:
name
- The name.
-
-
Method Details
-
getName
Gets the name of this tag.- Returns:
- The name of this tag.
-
getValue
Gets the value of this tag.- Returns:
- The value of this tag.
-