Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
private static java.util.regex.Pattern |
SIMPLE_VALUE |
private java.util.Map<java.lang.String,INBT> |
tagMap |
static INBTType<CompoundNBT> |
TYPE |
SYNTAX_HIGHLIGHTING_KEY, SYNTAX_HIGHLIGHTING_NUMBER, SYNTAX_HIGHLIGHTING_NUMBER_TYPE, SYNTAX_HIGHLIGHTING_STRING
Modifier | Constructor and Description |
---|---|
|
CompoundNBT() |
private |
CompoundNBT(java.util.Map<java.lang.String,INBT> p_i226075_1_) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String key) |
boolean |
contains(java.lang.String key,
int type) |
CompoundNBT |
copy() |
boolean |
equals(java.lang.Object p_equals_1_) |
protected static ITextComponent |
func_197642_t(java.lang.String p_197642_0_) |
private CrashReport |
func_229677_a_(java.lang.String p_229677_1_,
INBTType<?> p_229677_2_,
java.lang.ClassCastException p_229677_3_) |
private static INBT |
func_229680_b_(INBTType<?> p_229680_0_,
java.lang.String p_229680_1_,
java.io.DataInput p_229680_2_,
int p_229680_3_,
NBTSizeTracker p_229680_4_) |
INBT |
get(java.lang.String key) |
boolean |
getBoolean(java.lang.String key) |
byte |
getByte(java.lang.String key) |
byte[] |
getByteArray(java.lang.String key) |
CompoundNBT |
getCompound(java.lang.String key) |
double |
getDouble(java.lang.String key) |
float |
getFloat(java.lang.String key) |
byte |
getId() |
int |
getInt(java.lang.String key) |
int[] |
getIntArray(java.lang.String key) |
ListNBT |
getList(java.lang.String key,
int type) |
long |
getLong(java.lang.String key) |
long[] |
getLongArray(java.lang.String key) |
short |
getShort(java.lang.String key) |
java.lang.String |
getString(java.lang.String key) |
byte |
getTagId(java.lang.String key) |
INBTType<CompoundNBT> |
getType() |
java.util.UUID |
getUniqueId(java.lang.String key) |
protected static java.lang.String |
handleEscape(java.lang.String p_193582_0_) |
int |
hashCode() |
boolean |
hasUniqueId(java.lang.String key) |
boolean |
isEmpty() |
java.util.Set<java.lang.String> |
keySet() |
CompoundNBT |
merge(CompoundNBT other) |
INBT |
put(java.lang.String key,
INBT value) |
void |
putBoolean(java.lang.String key,
boolean value) |
void |
putByte(java.lang.String key,
byte value) |
void |
putByteArray(java.lang.String key,
byte[] value) |
void |
putDouble(java.lang.String key,
double value) |
void |
putFloat(java.lang.String key,
float value) |
void |
putInt(java.lang.String key,
int value) |
void |
putIntArray(java.lang.String key,
int[] value) |
void |
putIntArray(java.lang.String key,
java.util.List<java.lang.Integer> value) |
void |
putLong(java.lang.String key,
long value) |
void |
putLongArray(java.lang.String key,
java.util.List<java.lang.Long> value) |
void |
putLongArray(java.lang.String key,
long[] value) |
void |
putShort(java.lang.String key,
short value) |
void |
putString(java.lang.String key,
java.lang.String value) |
void |
putUniqueId(java.lang.String key,
java.util.UUID value) |
private static java.lang.String |
readKey(java.io.DataInput input,
NBTSizeTracker sizeTracker) |
private static byte |
readType(java.io.DataInput input,
NBTSizeTracker sizeTracker) |
void |
remove(java.lang.String key) |
void |
removeUniqueId(java.lang.String key) |
int |
size() |
ITextComponent |
toFormattedComponent(java.lang.String indentation,
int indentDepth) |
java.lang.String |
toString() |
void |
write(java.io.DataOutput output) |
private static void |
writeEntry(java.lang.String name,
INBT data,
java.io.DataOutput output) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getString, toFormattedComponent
private static final org.apache.logging.log4j.Logger LOGGER
private static final java.util.regex.Pattern SIMPLE_VALUE
public static final INBTType<CompoundNBT> TYPE
private final java.util.Map<java.lang.String,INBT> tagMap
private CompoundNBT(java.util.Map<java.lang.String,INBT> p_i226075_1_)
public CompoundNBT()
public void write(java.io.DataOutput output) throws java.io.IOException
public java.util.Set<java.lang.String> keySet()
public INBTType<CompoundNBT> getType()
public int size()
public void putByte(java.lang.String key, byte value)
public void putShort(java.lang.String key, short value)
public void putInt(java.lang.String key, int value)
public void putLong(java.lang.String key, long value)
public void putUniqueId(java.lang.String key, java.util.UUID value)
public java.util.UUID getUniqueId(java.lang.String key)
public boolean hasUniqueId(java.lang.String key)
public void removeUniqueId(java.lang.String key)
public void putFloat(java.lang.String key, float value)
public void putDouble(java.lang.String key, double value)
public void putString(java.lang.String key, java.lang.String value)
public void putByteArray(java.lang.String key, byte[] value)
public void putIntArray(java.lang.String key, int[] value)
public void putIntArray(java.lang.String key, java.util.List<java.lang.Integer> value)
public void putLongArray(java.lang.String key, long[] value)
public void putLongArray(java.lang.String key, java.util.List<java.lang.Long> value)
public void putBoolean(java.lang.String key, boolean value)
@Nullable public INBT get(java.lang.String key)
public byte getTagId(java.lang.String key)
public boolean contains(java.lang.String key)
public boolean contains(java.lang.String key, int type)
public byte getByte(java.lang.String key)
public short getShort(java.lang.String key)
public int getInt(java.lang.String key)
public long getLong(java.lang.String key)
public float getFloat(java.lang.String key)
public double getDouble(java.lang.String key)
public java.lang.String getString(java.lang.String key)
public byte[] getByteArray(java.lang.String key)
public int[] getIntArray(java.lang.String key)
public long[] getLongArray(java.lang.String key)
public CompoundNBT getCompound(java.lang.String key)
public ListNBT getList(java.lang.String key, int type)
public boolean getBoolean(java.lang.String key)
public void remove(java.lang.String key)
public java.lang.String toString()
public boolean isEmpty()
private CrashReport func_229677_a_(java.lang.String p_229677_1_, INBTType<?> p_229677_2_, java.lang.ClassCastException p_229677_3_)
public CompoundNBT copy()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
private static void writeEntry(java.lang.String name, INBT data, java.io.DataOutput output) throws java.io.IOException
java.io.IOException
private static byte readType(java.io.DataInput input, NBTSizeTracker sizeTracker) throws java.io.IOException
java.io.IOException
private static java.lang.String readKey(java.io.DataInput input, NBTSizeTracker sizeTracker) throws java.io.IOException
java.io.IOException
private static INBT func_229680_b_(INBTType<?> p_229680_0_, java.lang.String p_229680_1_, java.io.DataInput p_229680_2_, int p_229680_3_, NBTSizeTracker p_229680_4_)
public CompoundNBT merge(CompoundNBT other)
protected static java.lang.String handleEscape(java.lang.String p_193582_0_)
protected static ITextComponent func_197642_t(java.lang.String p_197642_0_)
public ITextComponent toFormattedComponent(java.lang.String indentation, int indentDepth)
toFormattedComponent
in interface INBT