public class NBTEntity extends NBTCompound
| Modifier | Constructor and Description |
|---|---|
|
NBTEntity(org.bukkit.entity.Entity entity)
Deprecated.
|
protected |
NBTEntity(org.bukkit.entity.Entity entity,
boolean readonly) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCompound() |
NBTCompound |
getPersistentDataContainer()
Gets the NBTCompound used by spigots PersistentDataAPI.
|
protected boolean |
isClosed() |
protected boolean |
isReadOnly() |
protected void |
setClosed() |
protected void |
setCompound(Object compound) |
addCompound, asNBTString, clearNBT, equals, extractDifference, get, getBoolean, getByte, getByteArray, getCompound, getCompoundList, getDouble, getDoubleList, getEnum, getFloat, getFloatList, getIntArray, getIntArrayList, getInteger, getIntegerList, getItemStack, getItemStackArray, getKeys, getListType, getLong, getLongArray, getLongList, getName, getObject, getOrCreateCompound, getOrDefault, getOrNull, getParent, getReadLock, getResolvedObject, getShort, getString, getStringList, getType, getUUID, getUUIDList, getWriteLock, hashCode, hasKey, hasTag, mergeCompound, mergeCompound, removeKey, resolveCompound, resolveOrCreateCompound, resolveOrDefault, resolveOrNull, saveCompound, set, set, setBoolean, setByte, setByteArray, setDouble, setEnum, setFloat, setIntArray, setInteger, setItemStack, setItemStackArray, setLong, setLongArray, setObject, setResolvedObject, setShort, setString, setUUID, toString, toString, writeCompoundclone, finalize, getClass, notify, notifyAll, wait, wait, waithasTagprotected NBTEntity(org.bukkit.entity.Entity entity,
boolean readonly)
entity - Any valid Bukkit Entityreadonly - Readonly makes a copy at init, only reading from that copy@Deprecated public NBTEntity(org.bukkit.entity.Entity entity)
entity - Any valid Bukkit Entityprotected void setClosed()
setClosed in class NBTCompoundprotected boolean isClosed()
isClosed in class NBTCompoundprotected boolean isReadOnly()
isReadOnly in class NBTCompoundpublic Object getCompound()
getCompound in class NBTCompoundprotected void setCompound(Object compound)
setCompound in class NBTCompoundpublic NBTCompound getPersistentDataContainer()
Copyright © 2015–2025 tr7zw. All rights reserved.