public class NBTContainer extends NBTCompound
NBTCompound implementation. All data is just kept inside
this Object.| Constructor and Description |
|---|
NBTContainer()
Deprecated.
|
NBTContainer(InputStream inputsteam)
Deprecated.
Use NBT.readNBT
|
NBTContainer(Object nbt)
Deprecated.
Use NBT.wrapNMSTag
|
NBTContainer(String nbtString)
Deprecated.
Use NBT.parseNBT
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCompound() |
protected boolean |
isClosed() |
protected boolean |
isReadOnly() |
protected void |
setClosed() |
void |
setCompound(Object tag) |
protected NBTContainer |
setReadOnly(boolean readOnly) |
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, waithasTag@Deprecated public NBTContainer()
NBT.createNBTObject()@Deprecated public NBTContainer(Object nbt)
nbt - @Deprecated public NBTContainer(InputStream inputsteam)
inputsteam - @Deprecated public NBTContainer(String nbtString)
NBTCompound. Can throw a
NbtApiException in case something goes wrong.nbtString - public Object getCompound()
getCompound in class NBTCompoundpublic void setCompound(Object tag)
setCompound in class NBTCompoundprotected void setClosed()
setClosed in class NBTCompoundprotected boolean isClosed()
isClosed in class NBTCompoundprotected boolean isReadOnly()
isReadOnly in class NBTCompoundprotected NBTContainer setReadOnly(boolean readOnly)
Copyright © 2015–2025 tr7zw. All rights reserved.