net.minecraft.nbt

public class NbtOps

implements com.mojang.serialization.DynamicOps<Tag>

on
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_

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, ov 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(ov 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(ov 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)
private static CollectionTag<?>
a(byte arg0, byte arg1)
createGenericList(byte arg0, byte arg1)
method_29144(byte arg0, byte arg1)
createList(byte knownType, byte valueType)
m_128964_(byte p_128965_, byte p_128966_)
private static boolean
a(byte arg0, byte arg1, byte arg2)
typesMatch(byte arg0, byte arg1, byte arg2)
method_29145(byte arg0, byte arg1, byte arg2)
isTypeEqual(byte knownType, byte valueType, byte expectedType)
m_128967_(byte p_128968_, byte p_128969_, byte p_128970_)
private static <T extends Tag> void
a(ob<T> arg0, ov arg1, ov arg2)
fillOne(CollectionTag<T> arg0, Tag arg1, Tag arg2)
method_29151(class_2483<T> arg0, class_2520 arg1, class_2520 arg2)
addAll(AbstractNbtList<T> destination, NbtElement source, NbtElement additionalValue)
m_129012_(C_4916_<T> p_129013_, C_4950_ p_129014_, C_4950_ p_129015_)
private static <T extends Tag> void
a(ob<T> arg0, ov arg1, List<ov> arg2)
fillMany(CollectionTag<T> arg0, Tag arg1, List<Tag> arg2)
method_29150(class_2483<T> arg0, class_2520 arg1, List<class_2520> arg2)
addAll(AbstractNbtList<T> destination, NbtElement source, List<NbtElement> additionalValues)
m_129008_(C_4916_<T> p_129009_, C_4950_ p_129010_, List<C_4950_> p_129011_)
public com.mojang.serialization.DataResult<Tag>
a(ov arg0, ov 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(ov arg0, List<ov> 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(ov arg0, ov arg1, ov 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(ov arg0, com.mojang.serialization.MapLike<ov> 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(ov 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(ov 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(ov 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<ov, ov>> 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)
public com.mojang.serialization.DataResult<Stream<Tag>>
f(ov 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(ov arg0)
getList(Tag arg0)
method_29164(class_2520 arg0)
getList(NbtElement arg0)
getList(C_4950_ arg0)
public com.mojang.serialization.DataResult<ByteBuffer>
h(ov 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(ov 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(ov 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<ov> arg0)
createList(Stream<Tag> arg0)
method_10665(Stream<class_2520> arg0)
createList(Stream<NbtElement> arg0)
createList(Stream<C_4950_> arg0)
public Tag
a(ov 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()