net.minecraft.nbt

public class CompoundTag

implements Tag

id
net.minecraft.nbt.CompoundTag
net.minecraft.class_2487
net.minecraft.nbt.CompoundTag
net.minecraft.nbt.CompoundNBT
net.minecraft.server.v1_14_R1.NBTTagCompound

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
f
LOGGER
field_11514
LOGGER
field_191551_b
private static final Pattern
g
SIMPLE_VALUE
field_11516
PATTERN
field_193583_c
private final Map<String, Tag>
h
tags
field_11515
tags
field_74784_a
map

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
write(DataOutput arg0)
func_74734_a(DataOutput arg0)
write(DataOutput arg0)
public void
a(DataInput arg0, int arg1, in arg2)
load(DataInput arg0, int arg1, NbtAccounter arg2)
method_10709(DataInput arg0, int arg1, class_2505 arg2)
read(DataInput arg0, int arg1, PositionTracker arg2)
func_152446_a(DataInput arg0, int arg1, NBTSizeTracker arg2)
load(DataInput arg0, int arg1, NBTReadLimiter arg2)
public Set<String>
c()
getAllKeys()
method_10541()
getKeys()
func_150296_c()
getKeys()
public byte
a()
getId()
method_10711()
getType()
func_74732_a()
getTypeId()
public int
d()
size()
method_10546()
getSize()
func_186856_d()
public Tag
a(String arg0, iu arg1)
put(String arg0, Tag arg1)
method_10566(String arg0, class_2520 arg1)
put(String key, Tag tag)
func_218657_a(String arg0, INBT arg1)
set(String arg0, NBTBase arg1)
public void
a(String arg0, byte arg1)
putByte(String arg0, byte arg1)
method_10567(String arg0, byte arg1)
putByte(String key, byte value)
func_74774_a(String arg0, byte arg1)
setByte(String arg0, byte arg1)
public void
a(String arg0, short arg1)
putShort(String arg0, short arg1)
method_10575(String arg0, short arg1)
putShort(String key, short value)
func_74777_a(String arg0, short arg1)
setShort(String arg0, short arg1)
public void
b(String arg0, int arg1)
putInt(String arg0, int arg1)
method_10569(String arg0, int arg1)
putInt(String key, int value)
func_74768_a(String arg0, int arg1)
setInt(String arg0, int arg1)
public void
a(String arg0, long arg1)
putLong(String arg0, long arg1)
method_10544(String arg0, long arg1)
putLong(String key, long value)
func_74772_a(String arg0, long arg1)
setLong(String arg0, long arg1)
public void
a(String arg0, UUID arg1)
putUUID(String arg0, UUID arg1)
method_10560(String arg0, UUID arg1)
putUuid(String key, UUID uuid)
func_186854_a(String arg0, UUID arg1)
public UUID
a(String arg0)
getUUID(String arg0)
method_10584(String arg0)
getUuid(String key)
func_186857_a(String arg0)
public boolean
b(String arg0)
hasUUID(String arg0)
method_10576(String arg0)
containsUuid(String key)
func_186855_b(String arg0)
public void
a(String arg0, float arg1)
putFloat(String arg0, float arg1)
method_10548(String arg0, float arg1)
putFloat(String key, float value)
func_74776_a(String arg0, float arg1)
setFloat(String arg0, float arg1)
public void
a(String arg0, double arg1)
putDouble(String arg0, double arg1)
method_10549(String arg0, double arg1)
putDouble(String key, double value)
func_74780_a(String arg0, double arg1)
setDouble(String arg0, double arg1)
public void
a(String arg0, String arg1)
putString(String arg0, String arg1)
method_10582(String arg0, String arg1)
putString(String key, String value)
func_74778_a(String arg0, String arg1)
setString(String arg0, String arg1)
public void
a(String arg0, byte[] arg1)
putByteArray(String arg0, byte[] arg1)
method_10570(String arg0, byte[] arg1)
putByteArray(String key, byte[] value)
func_74773_a(String arg0, byte[] arg1)
setByteArray(String arg0, byte[] arg1)
public void
a(String arg0, int[] arg1)
putIntArray(String arg0, int[] arg1)
method_10539(String arg0, int[] arg1)
putIntArray(String key, int[] value)
func_74783_a(String arg0, int[] arg1)
setIntArray(String arg0, int[] arg1)
public void
b(String arg0, List<Integer> arg1)
putIntArray(String arg0, List<Integer> arg1)
method_10572(String arg0, List<Integer> arg1)
putIntArray(String key, List<Integer> value)
func_197646_b(String arg0, List<Integer> arg1)
public void
a(String arg0, long[] arg1)
putLongArray(String arg0, long[] arg1)
method_10564(String arg0, long[] arg1)
putLongArray(String key, long[] value)
func_197644_a(String arg0, long[] arg1)
public void
c(String arg0, List<Long> arg1)
putLongArray(String arg0, List<Long> arg1)
method_10538(String arg0, List<Long> arg1)
putLongArray(String key, List<Long> value)
func_202168_c(String arg0, List<Long> arg1)
public void
a(String arg0, boolean arg1)
putBoolean(String arg0, boolean arg1)
method_10556(String arg0, boolean arg1)
putBoolean(String key, boolean value)
func_74757_a(String arg0, boolean arg1)
setBoolean(String arg0, boolean arg1)
public Tag
c(String arg0)
get(String arg0)
method_10580(String arg0)
get(String key)
func_74781_a(String arg0)
get(String arg0)
public byte
d(String arg0)
getTagType(String arg0)
method_10540(String arg0)
getType(String key)
func_150299_b(String arg0)
public boolean
e(String arg0)
contains(String arg0)
method_10545(String arg0)
contains(String key)
func_74764_b(String arg0)
hasKey(String arg0)
public boolean
c(String arg0, int arg1)
contains(String arg0, int arg1)
method_10573(String arg0, int arg1)
contains(String key, int type)
func_150297_b(String arg0, int arg1)
hasKeyOfType(String arg0, int arg1)
public byte
f(String arg0)
getByte(String arg0)
method_10571(String arg0)
getByte(String key)
func_74771_c(String arg0)
getByte(String arg0)
public short
g(String arg0)
getShort(String arg0)
method_10568(String arg0)
getShort(String key)
func_74765_d(String arg0)
getShort(String arg0)
public int
h(String arg0)
getInt(String arg0)
method_10550(String arg0)
getInt(String key)
func_74762_e(String arg0)
getInt(String arg0)
public long
i(String arg0)
getLong(String arg0)
method_10537(String arg0)
getLong(String key)
func_74763_f(String arg0)
getLong(String arg0)
public float
j(String arg0)
getFloat(String arg0)
method_10583(String arg0)
getFloat(String key)
func_74760_g(String arg0)
getFloat(String arg0)
public double
k(String arg0)
getDouble(String arg0)
method_10574(String arg0)
getDouble(String key)
func_74769_h(String arg0)
getDouble(String arg0)
public String
l(String arg0)
getString(String arg0)
method_10558(String arg0)
getString(String key)
func_74779_i(String arg0)
getString(String arg0)
public byte[]
m(String arg0)
getByteArray(String arg0)
method_10547(String arg0)
getByteArray(String key)
func_74770_j(String arg0)
getByteArray(String arg0)
public int[]
n(String arg0)
getIntArray(String arg0)
method_10561(String arg0)
getIntArray(String key)
func_74759_k(String arg0)
getIntArray(String arg0)
public long[]
o(String arg0)
getLongArray(String arg0)
method_10565(String arg0)
getLongArray(String key)
func_197645_o(String arg0)
getLongArray(String arg0)
public CompoundTag
p(String arg0)
getCompound(String arg0)
method_10562(String arg0)
getCompound(String key)
func_74775_l(String arg0)
getCompound(String arg0)
public ListTag
d(String arg0, int arg1)
getList(String arg0, int arg1)
method_10554(String arg0, int arg1)
getList(String key, int type)
func_150295_c(String arg0, int arg1)
getList(String arg0, int arg1)
public boolean
q(String arg0)
getBoolean(String arg0)
method_10577(String arg0)
getBoolean(String key)
func_74767_n(String arg0)
getBoolean(String arg0)
public void
r(String arg0)
remove(String arg0)
method_10551(String arg0)
remove(String key)
func_82580_o(String arg0)
remove(String arg0)
public boolean
isEmpty()
isEmpty()
isEmpty()
isEmpty()
isEmpty()
private CrashReport
a(String arg0, int arg1, ClassCastException arg2)
createReport(String arg0, int arg1, ClassCastException arg2)
method_10559(String arg0, int arg1, ClassCastException arg2)
createCrashReport(String key, int type, ClassCastException arg2)
func_82581_a(String arg0, int arg1, ClassCastException arg2)
public CompoundTag
f()
copy()
method_10553()
copy()
func_74737_b()
clone()
private static void
a(String arg0, iu arg1, DataOutput arg2)
writeNamedTag(String arg0, Tag arg1, DataOutput arg2)
method_10555(String arg0, class_2520 arg1, DataOutput arg2)
write(String key, Tag tag, DataOutput output)
func_150298_a(String arg0, INBT arg1, DataOutput arg2)
private static byte
a(DataInput arg0, in arg1)
readNamedTagType(DataInput arg0, NbtAccounter arg1)
method_10542(DataInput arg0, class_2505 arg1)
readByte(DataInput input, PositionTracker tracker)
func_152447_a(DataInput arg0, NBTSizeTracker arg1)
private static String
b(DataInput arg0, in arg1)
readNamedTagName(DataInput arg0, NbtAccounter arg1)
method_10552(DataInput arg0, class_2505 arg1)
readString(DataInput input, PositionTracker tracker)
func_152448_b(DataInput arg0, NBTSizeTracker arg1)
static Tag
a(byte arg0, String arg1, DataInput arg2, int arg3, in arg4)
readNamedTagData(byte arg0, String arg1, DataInput arg2, int arg3, NbtAccounter arg4)
method_10581(byte arg0, String arg1, DataInput arg2, int arg3, class_2505 arg4)
createTag(byte type, String key, DataInput input, int depth, PositionTracker tracker)
func_152449_a(byte arg0, String arg1, DataInput arg2, int arg3, NBTSizeTracker arg4)
public CompoundTag
a(id arg0)
merge(CompoundTag arg0)
method_10543(class_2487 arg0)
copyFrom(CompoundTag source)
func_197643_a(CompoundNBT arg0)
protected static String
s(String arg0)
handleEscape(String arg0)
method_10578(String arg0)
escapeTagKey(String key)
func_193582_s(String arg0)
protected static Component
t(String arg0)
handleEscapePretty(String arg0)
method_10557(String arg0)
prettyPrintTagKey(String key)
func_197642_t(String arg0)
public Component
a(String arg0, int arg1)
getPrettyDisplay(String arg0, int arg1)
method_10710(String arg0, int arg1)
toText(String arg0, int arg1)
func_199850_a(String arg0, int arg1)