Package net.md_5.bungee.nbt.type
Class CompoundTag
java.lang.Object
net.md_5.bungee.nbt.type.CompoundTag
-
Field Summary
Fields inherited from interface net.md_5.bungee.nbt.Tag
ARRAY_HEADER, BYTE, BYTE_ARRAY, COMPOUND, CONSTRUCTORS, DOUBLE, END, FLOAT, INT, INT_ARRAY, LIST, LONG, LONG_ARRAY, OBJECT_HEADER, OBJECT_REFERENCE, SHORT, STRING, STRING_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbytegetId()Gets the id of this tag's type.getValue()inthashCode()voidvoidread(DataInput input, NBTLimiter limiter) Reads the data into this tag.static StringreadString(DataInput input, NBTLimiter limiter) voidintsize()toString()voidwrite(DataOutput output) Writes this tag into aDataOutput.static voidwriteString(String string, DataOutput output)
-
Constructor Details
-
CompoundTag
public CompoundTag() -
CompoundTag
-
-
Method Details
-
read
Description copied from interface:TagReads the data into this tag.- Specified by:
readin interfaceTag- Parameters:
input- the input to read fromlimiter- the limiter for this read operation- Throws:
IOException- if an exception occurs during io operations
-
write
Description copied from interface:TagWrites this tag into aDataOutput.- Specified by:
writein interfaceTag- Parameters:
output- the output to write to- Throws:
IOException- if an exception occurs during io operations
-
getId
public byte getId()Description copied from interface:TypedTagGets the id of this tag's type. -
readString
- Throws:
IOException
-
writeString
- Throws:
IOException
-
get
-
put
-
size
public int size() -
getValue
-
setValue
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-