public class NBTTileEntity extends NBTCompound
| Modifier | Constructor and Description |
|---|---|
|
NBTTileEntity(org.bukkit.block.BlockState tile)
Deprecated.
|
protected |
NBTTileEntity(org.bukkit.block.BlockState tile,
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 NBTTileEntity(org.bukkit.block.BlockState tile,
boolean readonly)
tile - BlockState from any TileEntityreadonly - Readonly makes a copy at init, only reading from that copy@Deprecated public NBTTileEntity(org.bukkit.block.BlockState tile)
tile - BlockState from any TileEntityprotected 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.