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, 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, writeCompound
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
hasTag
protected 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 NBTCompound
protected boolean isClosed()
isClosed
in class NBTCompound
protected boolean isReadOnly()
isReadOnly
in class NBTCompound
public Object getCompound()
getCompound
in class NBTCompound
protected void setCompound(Object compound)
setCompound
in class NBTCompound
public NBTCompound getPersistentDataContainer()
Copyright © 2015–2024 tr7zw. All rights reserved.