net.minecraft.nbt

public class NbtOps

implements com.mojang.serialization.DynamicOps<Tag>

ri
net.minecraft.nbt.NbtOps
net.minecraft.class_2509
net.minecraft.nbt.NbtOps
net.minecraft.src.C_4940_
net.minecraft.nbt.DynamicOpsNBT

Field summary

Modifier and TypeField
public static final NbtOps
a
INSTANCE
field_11560
INSTANCE
f_128958_
private static final String
b
WRAPPER_MARKER
field_40667
MARKER_KEY
f_244338_

Constructor summary

ModifierConstructor
protected ()

Method summary

Modifier and TypeMethod
public Tag
a()
empty()
method_10668()
empty()
empty()
public <U> U
a(com.mojang.serialization.DynamicOps<U> arg0, rq arg1)
convertTo(com.mojang.serialization.DynamicOps<U> arg0, Tag arg1)
method_29146(com.mojang.serialization.DynamicOps<U> arg0, class_2520 arg1)
convertTo(com.mojang.serialization.DynamicOps<U> arg0, NbtElement arg1)
convertTo(com.mojang.serialization.DynamicOps<U> p_128981_, C_4950_ arg1)
public com.mojang.serialization.DataResult<Number>
a(rq arg0)
getNumberValue(Tag arg0)
method_10645(class_2520 arg0)
getNumberValue(NbtElement arg0)
getNumberValue(C_4950_ arg0)
public Tag
a(Number arg0)
createNumeric(Number arg0)
method_10660(Number arg0)
createNumeric(Number arg0)
createNumeric(Number arg0)
public Tag
a(byte arg0)
createByte(byte arg0)
method_10640(byte arg0)
createByte(byte arg0)
createByte(byte arg0)
public Tag
a(short arg0)
createShort(short arg0)
method_10635(short arg0)
createShort(short arg0)
createShort(short arg0)
public Tag
a(int arg0)
createInt(int arg0)
method_10661(int arg0)
createInt(int arg0)
createInt(int arg0)
public Tag
a(long arg0)
createLong(long arg0)
method_10654(long arg0)
createLong(long arg0)
createLong(long arg0)
public Tag
a(float arg0)
createFloat(float arg0)
method_10662(float arg0)
createFloat(float arg0)
createFloat(float arg0)
public Tag
a(double arg0)
createDouble(double arg0)
method_10652(double arg0)
createDouble(double arg0)
createDouble(double arg0)
public Tag
a(boolean arg0)
createBoolean(boolean arg0)
method_23253(boolean arg0)
createBoolean(boolean arg0)
createBoolean(boolean arg0)
public com.mojang.serialization.DataResult<String>
b(rq arg0)
getStringValue(Tag arg0)
method_10656(class_2520 arg0)
getStringValue(NbtElement arg0)
getStringValue(C_4950_ arg0)
public Tag
a(String arg0)
createString(String arg0)
method_10639(String arg0)
createString(String arg0)
createString(String arg0)
public com.mojang.serialization.DataResult<Tag>
a(rq arg0, rq arg1)
mergeToList(Tag arg0, Tag arg1)
method_29156(class_2520 arg0, class_2520 arg1)
mergeToList(NbtElement arg0, NbtElement arg1)
mergeToList(C_4950_ p_129042_, C_4950_ arg1)
public com.mojang.serialization.DataResult<Tag>
a(rq arg0, List<rq> arg1)
mergeToList(Tag arg0, List<Tag> arg1)
method_29155(class_2520 arg0, List<class_2520> arg1)
mergeToList(NbtElement arg0, List<NbtElement> arg1)
mergeToList(C_4950_ p_129039_, List<C_4950_> arg1)
public com.mojang.serialization.DataResult<Tag>
a(rq arg0, rq arg1, rq arg2)
mergeToMap(Tag arg0, Tag arg1, Tag arg2)
method_29157(class_2520 arg0, class_2520 arg1, class_2520 arg2)
mergeToMap(NbtElement arg0, NbtElement arg1, NbtElement arg2)
mergeToMap(C_4950_ p_129045_, C_4950_ p_129046_, C_4950_ arg2)
public com.mojang.serialization.DataResult<Tag>
a(rq arg0, com.mojang.serialization.MapLike<rq> arg1)
mergeToMap(Tag arg0, com.mojang.serialization.MapLike<Tag> arg1)
method_29154(class_2520 arg0, com.mojang.serialization.MapLike<class_2520> arg1)
mergeToMap(NbtElement arg0, com.mojang.serialization.MapLike<NbtElement> arg1)
mergeToMap(C_4950_ p_129033_, com.mojang.serialization.MapLike<C_4950_> arg1)
public com.mojang.serialization.DataResult<Stream<com.mojang.datafixers.util.Pair<Tag, Tag>>>
c(rq arg0)
getMapValues(Tag arg0)
method_10669(class_2520 arg0)
getMapValues(NbtElement arg0)
getMapValues(C_4950_ arg0)
public com.mojang.serialization.DataResult<Consumer<BiConsumer<Tag, Tag>>>
d(rq arg0)
getMapEntries(Tag arg0)
method_29162(class_2520 arg0)
getMapEntries(NbtElement arg0)
getMapEntries(C_4950_ arg0)
public com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Tag>>
e(rq arg0)
getMap(Tag arg0)
method_29163(class_2520 arg0)
getMap(NbtElement arg0)
getMap(C_4950_ arg0)
public Tag
a(Stream<com.mojang.datafixers.util.Pair<rq, rq>> arg0)
createMap(Stream<com.mojang.datafixers.util.Pair<Tag, Tag>> arg0)
method_10655(Stream<com.mojang.datafixers.util.Pair<class_2520, class_2520>> arg0)
createMap(Stream<com.mojang.datafixers.util.Pair<NbtElement, NbtElement>> arg0)
createMap(Stream<com.mojang.datafixers.util.Pair<C_4950_, C_4950_>> arg0)
private static Tag
a(qw arg0)
tryUnwrap(CompoundTag arg0)
method_46232(class_2487 arg0)
unpackMarker(NbtCompound nbt)
m_246295_(C_4917_ p_251041_)
public com.mojang.serialization.DataResult<Stream<Tag>>
f(rq arg0)
getStream(Tag arg0)
method_10664(class_2520 arg0)
getStream(NbtElement arg0)
getStream(C_4950_ arg0)
public com.mojang.serialization.DataResult<Consumer<Consumer<Tag>>>
g(rq arg0)
getList(Tag arg0)
method_29164(class_2520 arg0)
getList(NbtElement arg0)
getList(C_4950_ arg0)
public com.mojang.serialization.DataResult<ByteBuffer>
h(rq arg0)
getByteBuffer(Tag arg0)
method_10646(class_2520 arg0)
getByteBuffer(NbtElement arg0)
getByteBuffer(C_4950_ arg0)
public Tag
a(ByteBuffer arg0)
createByteList(ByteBuffer arg0)
method_10657(ByteBuffer arg0)
createByteList(ByteBuffer arg0)
createByteList(ByteBuffer arg0)
public com.mojang.serialization.DataResult<IntStream>
i(rq arg0)
getIntStream(Tag arg0)
method_10651(class_2520 arg0)
getIntStream(NbtElement arg0)
getIntStream(C_4950_ arg0)
public Tag
a(IntStream arg0)
createIntList(IntStream arg0)
method_10663(IntStream arg0)
createIntList(IntStream arg0)
createIntList(IntStream arg0)
public com.mojang.serialization.DataResult<LongStream>
j(rq arg0)
getLongStream(Tag arg0)
method_10637(class_2520 arg0)
getLongStream(NbtElement arg0)
getLongStream(C_4950_ arg0)
public Tag
a(LongStream arg0)
createLongList(LongStream arg0)
method_10643(LongStream arg0)
createLongList(LongStream arg0)
createLongList(LongStream arg0)
public Tag
b(Stream<rq> arg0)
createList(Stream<Tag> arg0)
method_10665(Stream<class_2520> arg0)
createList(Stream<NbtElement> arg0)
createList(Stream<C_4950_> arg0)
public Tag
a(rq arg0, String arg1)
remove(Tag arg0, String arg1)
method_10648(class_2520 arg0, String arg1)
remove(NbtElement arg0, String arg1)
remove(C_4950_ p_129036_, String arg1)
public com.mojang.serialization.RecordBuilder<Tag>
mapBuilder()
mapBuilder()
mapBuilder()
private static Optional<NbtOps$ListCollector>
k(rq arg0)
createCollector(Tag arg0)
method_46235(class_2520 arg0)
createMerger(NbtElement nbt)
m_246675_(C_4950_ p_249503_)