Package net.md_5.bungee.nbt.type
Class ListTag
java.lang.Object
net.md_5.bungee.nbt.type.ListTag
-
Field Summary
FieldsFields 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 TypeMethodDescriptionget(int index) bytegetId()Gets the id of this tag's type.voidread(DataInput input, NBTLimiter limiter) Reads the data into this tag.intsize()voidwrite(DataOutput output) Writes this tag into aDataOutput.
-
Field Details
-
LIST_HEADER
public static final int LIST_HEADER- See Also:
-
-
Constructor Details
-
ListTag
public ListTag()
-
-
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. -
get
-
size
public int size()
-