Class NBTList<T extends NBT>
java.lang.Object
com.github.retrooper.packetevents.protocol.nbt.NBT
com.github.retrooper.packetevents.protocol.nbt.NBTList<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addTagUnsafe
(int index, NBT nbt) void
addTagUnsafe
(NBT nbt) copy()
static NBTList
<NBTCompound> boolean
getTag
(int index) getTags()
getType()
int
hashCode()
boolean
isEmpty()
void
removeTag
(int index) void
int
size()
toString()
protected void
validateAddTag
(T tag)
-
Field Details
-
type
-
tags
-
-
Constructor Details
-
NBTList
-
NBTList
-
NBTList
-
-
Method Details
-
createCompoundList
-
createStringList
-
getType
-
getTagsType
-
isEmpty
public boolean isEmpty() -
size
public int size() -
getTags
-
getTag
-
setTag
-
addTag
-
addTag
-
addTagUnsafe
-
addTagUnsafe
-
removeTag
public void removeTag(int index) -
validateAddTag
-
equals
-
hashCode
public int hashCode() -
copy
-
toString
-