net.minecraft.nbt

public class CompoundTag

implements Tag

sn
net.minecraft.nbt.CompoundTag
net.minecraft.class_2487
net.minecraft.unmapped.C_hhlwcnih
net.minecraft.nbt.NbtCompound
net.minecraft.nbt.NbtCompound
net.minecraft.src.C_4917_
net.minecraft.nbt.NBTTagCompound

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<CompoundTag>
a
CODEC
field_25128
f_ckdatsht
CODEC
CODEC
f_128325_
private static final int
c
SELF_SIZE_IN_BYTES
field_41718
f_qucoyxms
SIZE
f_263436_
private static final int
w
MAP_ENTRY_SIZE_IN_BYTES
field_41719
f_aetpjbog
field_41719
f_263443_
public static final TagType<CompoundTag>
b
TYPE
field_21029
f_ghusyxdr
TYPE
TYPE
f_128326_
private final Map<String, Tag>
x
tags
field_11515
f_dopajgtr
entries
entries
f_128329_

Constructor summary

ModifierConstructor
protected (Map<String, Tag> entries)
public ()

Method summary

Modifier and TypeMethod
public void
a(DataOutput arg0)
write(DataOutput arg0)
method_10713(DataOutput arg0)
m_iwzpgzuw(DataOutput arg0)
write(DataOutput arg0)
write(DataOutput arg0)
m_6434_(DataOutput arg0)
public int
a()
sizeInBytes()
method_47988()
m_hbuflhqa()
getSizeInBytes()
getSizeInBytes()
m_263179_()
public Set<String>
e()
getAllKeys()
method_10541()
m_edyqshfn()
getKeys()
getKeys()
m_128431_()
public byte
b()
getId()
method_10711()
m_muabmuss()
getType()
getType()
m_7060_()
public TagType<CompoundTag>
c()
getType()
method_23258()
m_oolktkhh()
getNbtType()
getNbtType()
m_6458_()
public int
f()
size()
method_10546()
m_yupkiakq()
getSize()
getSize()
m_128440_()
public Tag
a(String arg0, tk arg1)
put(String arg0, Tag arg1)
method_10566(String arg0, class_2520 arg1)
m_rhmjdpeb(String arg0, C_oivssbvb arg1)
put(String key, NbtElement element)
put(String key, NbtElement nbt)
m_128365_(String p_128367_, C_4950_ arg1)
public void
a(String arg0, byte arg1)
putByte(String arg0, byte arg1)
method_10567(String arg0, byte arg1)
m_nsgektrx(String arg0, byte arg1)
putByte(String key, byte value)
putByte(String key, byte value)
m_128344_(String p_128346_, byte arg1)
public void
a(String arg0, short arg1)
putShort(String arg0, short arg1)
method_10575(String arg0, short arg1)
m_mdviseki(String arg0, short arg1)
putShort(String key, short value)
putShort(String key, short value)
m_128376_(String p_128378_, short arg1)
public void
a(String arg0, int arg1)
putInt(String arg0, int arg1)
method_10569(String arg0, int arg1)
m_oidzekic(String arg0, int arg1)
putInt(String key, int value)
putInt(String key, int value)
m_128405_(String p_128407_, int arg1)
public void
a(String arg0, long arg1)
putLong(String arg0, long arg1)
method_10544(String arg0, long arg1)
m_rfwtapdj(String arg0, long arg1)
putLong(String key, long value)
putLong(String key, long value)
m_128356_(String p_128358_, long arg1)
public void
a(String arg0, UUID arg1)
putUUID(String arg0, UUID arg1)
method_25927(String arg0, UUID arg1)
m_llapethd(String arg0, UUID arg1)
putUuid(String key, UUID value)
putUuid(String key, UUID value)
m_128362_(String p_128364_, UUID arg1)
public UUID
a(String arg0)
getUUID(String arg0)
method_25926(String arg0)
m_vcejwkhf(String arg0)
getUuid(String key)
getUuid(String key)
m_128342_(String arg0)
public boolean
b(String arg0)
hasUUID(String arg0)
method_25928(String arg0)
m_ydoxcvdj(String arg0)
containsUuid(String key)
containsUuid(String key)
m_128403_(String arg0)
public void
a(String arg0, float arg1)
putFloat(String arg0, float arg1)
method_10548(String arg0, float arg1)
m_rhewyeez(String arg0, float arg1)
putFloat(String key, float value)
putFloat(String key, float value)
m_128350_(String p_128352_, float arg1)
public void
a(String arg0, double arg1)
putDouble(String arg0, double arg1)
method_10549(String arg0, double arg1)
m_viunccbx(String arg0, double arg1)
putDouble(String key, double value)
putDouble(String key, double value)
m_128347_(String p_128349_, double arg1)
public void
a(String arg0, String arg1)
putString(String arg0, String arg1)
method_10582(String arg0, String arg1)
m_zdwtkqww(String arg0, String arg1)
putString(String key, String value)
putString(String key, String value)
m_128359_(String p_128361_, String arg1)
public void
a(String arg0, byte[] arg1)
putByteArray(String arg0, byte[] arg1)
method_10570(String arg0, byte[] arg1)
m_eqnvttdy(String arg0, byte[] arg1)
putByteArray(String key, byte[] value)
putByteArray(String key, byte[] value)
m_128382_(String p_128384_, byte[] arg1)
public void
a(String arg0, List<Byte> arg1)
putByteArray(String arg0, List<Byte> arg1)
method_36110(String arg0, List<Byte> arg1)
m_pvrsstff(String arg0, List<Byte> arg1)
putByteArray(String key, List<Byte> value)
putByteArray(String key, List<Byte> value)
m_177853_(String p_177855_, List<Byte> arg1)
public void
a(String arg0, int[] arg1)
putIntArray(String arg0, int[] arg1)
method_10539(String arg0, int[] arg1)
m_lpsfhlyj(String arg0, int[] arg1)
putIntArray(String key, int[] value)
putIntArray(String key, int[] value)
m_128385_(String p_128387_, int[] arg1)
public void
b(String arg0, List<Integer> arg1)
putIntArray(String arg0, List<Integer> arg1)
method_10572(String arg0, List<Integer> arg1)
m_ghvynynu(String arg0, List<Integer> arg1)
putIntArray(String key, List<Integer> value)
putIntArray(String key, List<Integer> value)
m_128408_(String p_128410_, List<Integer> arg1)
public void
a(String arg0, long[] arg1)
putLongArray(String arg0, long[] arg1)
method_10564(String arg0, long[] arg1)
m_uyyxtfyl(String arg0, long[] arg1)
putLongArray(String key, long[] value)
putLongArray(String key, long[] value)
m_128388_(String p_128390_, long[] arg1)
public void
c(String arg0, List<Long> arg1)
putLongArray(String arg0, List<Long> arg1)
method_10538(String arg0, List<Long> arg1)
m_ahclaugj(String arg0, List<Long> arg1)
putLongArray(String key, List<Long> value)
putLongArray(String key, List<Long> value)
m_128428_(String p_128430_, List<Long> arg1)
public void
a(String arg0, boolean arg1)
putBoolean(String arg0, boolean arg1)
method_10556(String arg0, boolean arg1)
m_dduhveow(String arg0, boolean arg1)
putBoolean(String key, boolean value)
putBoolean(String key, boolean value)
m_128379_(String p_128381_, boolean arg1)
public Tag
c(String arg0)
get(String arg0)
method_10580(String arg0)
m_eeoapzdo(String arg0)
get(String key)
get(String key)
m_128423_(String arg0)
public byte
d(String arg0)
getTagType(String arg0)
method_10540(String arg0)
m_dlfxgxkm(String arg0)
getType(String key)
getType(String key)
m_128435_(String arg0)
public boolean
e(String arg0)
contains(String arg0)
method_10545(String arg0)
m_xnfnxggh(String arg0)
contains(String key)
contains(String key)
m_128441_(String arg0)
public boolean
b(String arg0, int arg1)
contains(String arg0, int arg1)
method_10573(String arg0, int arg1)
m_hvntgxzd(String arg0, int arg1)
contains(String key, int type)
contains(String key, int type)
m_128425_(String p_128427_, int arg1)
public byte
f(String arg0)
getByte(String arg0)
method_10571(String arg0)
m_qjdqawfk(String arg0)
getByte(String key)
getByte(String key)
m_128445_(String arg0)
public short
g(String arg0)
getShort(String arg0)
method_10568(String arg0)
m_ecfctwhl(String arg0)
getShort(String key)
getShort(String key)
m_128448_(String arg0)
public int
h(String arg0)
getInt(String arg0)
method_10550(String arg0)
m_mgfrkezk(String arg0)
getInt(String key)
getInt(String key)
m_128451_(String arg0)
public long
i(String arg0)
getLong(String arg0)
method_10537(String arg0)
m_vxtpxonw(String arg0)
getLong(String key)
getLong(String key)
m_128454_(String arg0)
public float
j(String arg0)
getFloat(String arg0)
method_10583(String arg0)
m_qpzjsrgy(String arg0)
getFloat(String key)
getFloat(String key)
m_128457_(String arg0)
public double
k(String arg0)
getDouble(String arg0)
method_10574(String arg0)
m_keybbgol(String arg0)
getDouble(String key)
getDouble(String key)
m_128459_(String arg0)
public String
l(String arg0)
getString(String arg0)
method_10558(String arg0)
m_wftfgcrs(String arg0)
getString(String key)
getString(String key)
m_128461_(String arg0)
public byte[]
m(String arg0)
getByteArray(String arg0)
method_10547(String arg0)
m_zsbbwdsl(String arg0)
getByteArray(String key)
getByteArray(String key)
m_128463_(String arg0)
public int[]
n(String arg0)
getIntArray(String arg0)
method_10561(String arg0)
m_jedcpeht(String arg0)
getIntArray(String key)
getIntArray(String key)
m_128465_(String arg0)
public long[]
o(String arg0)
getLongArray(String arg0)
method_10565(String arg0)
m_qcefrfhq(String arg0)
getLongArray(String key)
getLongArray(String key)
m_128467_(String arg0)
public CompoundTag
p(String arg0)
getCompound(String arg0)
method_10562(String arg0)
m_avrwostq(String arg0)
getCompound(String key)
getCompound(String key)
m_128469_(String arg0)
public ListTag
c(String arg0, int arg1)
getList(String arg0, int arg1)
method_10554(String arg0, int arg1)
m_sfeexgrr(String arg0, int arg1)
getList(String key, int type)
getList(String key, int type)
m_128437_(String p_128439_, int arg1)
public boolean
q(String arg0)
getBoolean(String arg0)
method_10577(String arg0)
m_gbrpdjkp(String arg0)
getBoolean(String key)
getBoolean(String key)
m_128471_(String arg0)
public void
r(String arg0)
remove(String arg0)
method_10551(String arg0)
m_ulzvmblb(String arg0)
remove(String key)
remove(String key)
m_128473_(String arg0)
public boolean
g()
isEmpty()
method_33133()
m_ksegnvlx()
isEmpty()
isEmpty()
m_128456_()
private CrashReport
a(String arg0, tm<?> arg1, ClassCastException arg2)
createReport(String arg0, TagType<?> arg1, ClassCastException arg2)
method_10559(String arg0, class_4614<?> arg1, ClassCastException arg2)
m_hpqizldi(String arg0, C_ueidorcc<?> arg1, ClassCastException arg2)
createCrashReport(String key, NbtType<?> reader, ClassCastException exception)
createCrashReport(String key, NbtType<?> reader, ClassCastException exception)
m_128372_(String p_128374_, C_4952_<?> p_128375_, ClassCastException arg2)
public CompoundTag
h()
copy()
method_10553()
m_zncfzony()
copy()
copy()
m_6426_()
private static void
a(String arg0, tk arg1, DataOutput arg2)
writeNamedTag(String arg0, Tag arg1, DataOutput arg2)
method_10555(String arg0, class_2520 arg1, DataOutput arg2)
m_scelszti(String arg0, C_oivssbvb arg1, DataOutput arg2)
write(String key, NbtElement element, DataOutput output)
write(String key, NbtElement nbt, DataOutput output)
m_128368_(String p_128369_, C_4950_ p_128370_, DataOutput p_128371_)
static Tag
a(tm<?> arg0, String arg1, DataInput arg2, sw arg3)
readNamedTagData(TagType<?> arg0, String arg1, DataInput arg2, NbtAccounter arg3)
method_10581(class_4614<?> arg0, String arg1, DataInput arg2, class_2505 arg3)
m_seamivly(C_ueidorcc<?> arg0, String arg1, DataInput arg2, C_fozrrtcx arg3)
read(NbtType<?> reader, String key, DataInput input, NbtSizeTracker tracker)
read(NbtType<?> reader, String key, DataInput input, NbtTagSizeTracker tracker)
m_128413_(C_4952_<?> p_128414_, String p_128415_, DataInput p_128416_, C_4937_ p_128418_)
public CompoundTag
a(sn arg0)
merge(CompoundTag arg0)
method_10543(class_2487 arg0)
m_utczects(C_hhlwcnih arg0)
copyFrom(NbtCompound source)
copyFrom(NbtCompound source)
m_128391_(C_4917_ arg0)
public void
a(to arg0)
accept(TagVisitor arg0)
method_32289(class_5627 arg0)
m_kyxvnzlv(C_fphpnqkj arg0)
accept(NbtElementVisitor arg0)
accept(NbtElementVisitor arg0)
m_142327_(C_141838_ arg0)
protected Map<String, Tag>
i()
entries()
method_29143()
m_ejfujrje()
toMap()
toMap()
m_128450_()
public StreamTagVisitor$ValueResult
a(th arg0)
accept(StreamTagVisitor arg0)
method_39850(class_6836 arg0)
m_mzbtnncb(C_avcaqucb arg0)
doAccept(NbtScanner arg0)
scan(NbtScanner arg0)
m_196533_(C_196121_ arg0)