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, 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
@Deprecated public NBTContainer()
@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 NBTCompound
public void setCompound(Object tag)
setCompound
in class NBTCompound
protected void setClosed()
setClosed
in class NBTCompound
protected boolean isClosed()
isClosed
in class NBTCompound
protected boolean isReadOnly()
isReadOnly
in class NBTCompound
protected NBTContainer setReadOnly(boolean readOnly)
Copyright © 2015–2024 tr7zw. All rights reserved.