| Modifier | Constructor and Description |
|---|---|
protected |
NbtOps() |
public static final NbtOps INSTANCE
public Tag empty()
empty in interface com.mojang.datafixers.types.DynamicOps<Tag>public com.mojang.datafixers.types.Type<?> getType(Tag tag)
getType in interface com.mojang.datafixers.types.DynamicOps<Tag>public Optional<Number> getNumberValue(Tag tag)
getNumberValue in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createNumeric(Number number)
createNumeric in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createByte(byte byte2)
createByte in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createShort(short short2)
createShort in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createInt(int int2)
createInt in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createLong(long long2)
createLong in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createFloat(float float2)
createFloat in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createDouble(double double2)
createDouble in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createBoolean(boolean bool)
createBoolean in interface com.mojang.datafixers.types.DynamicOps<Tag>public Optional<String> getStringValue(Tag tag)
getStringValue in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createString(String string)
createString in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag mergeInto(Tag tag, Tag tag2)
mergeInto in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag mergeInto(Tag tag, Tag tag2, Tag tag3)
mergeInto in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag merge(Tag tag, Tag tag2)
merge in interface com.mojang.datafixers.types.DynamicOps<Tag>public Optional<Map<Tag,Tag>> getMapValues(Tag tag)
getMapValues in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createMap(Map<Tag,Tag> map)
createMap in interface com.mojang.datafixers.types.DynamicOps<Tag>public Optional<Stream<Tag>> getStream(Tag tag)
getStream in interface com.mojang.datafixers.types.DynamicOps<Tag>public Optional<ByteBuffer> getByteBuffer(Tag tag)
getByteBuffer in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createByteList(ByteBuffer byteBuffer)
createByteList in interface com.mojang.datafixers.types.DynamicOps<Tag>public Optional<IntStream> getIntStream(Tag tag)
getIntStream in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createIntList(IntStream intStream)
createIntList in interface com.mojang.datafixers.types.DynamicOps<Tag>public Optional<LongStream> getLongStream(Tag tag)
getLongStream in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createLongList(LongStream longStream)
createLongList in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag createList(Stream<Tag> stream)
createList in interface com.mojang.datafixers.types.DynamicOps<Tag>public Tag remove(Tag tag, String string)
remove in interface com.mojang.datafixers.types.DynamicOps<Tag>