Modifier and Type | Field and Description |
---|---|
static NBTDynamicOps |
INSTANCE |
Constructor and Description |
---|
NBTDynamicOps() |
Modifier and Type | Method and Description |
---|---|
INBTBase |
createByte(byte p_createByte_1_) |
INBTBase |
createByteList(java.nio.ByteBuffer p_createByteList_1_) |
INBTBase |
createDouble(double p_createDouble_1_) |
INBTBase |
createFloat(float p_createFloat_1_) |
INBTBase |
createInt(int p_createInt_1_) |
INBTBase |
createIntList(java.util.stream.IntStream p_createIntList_1_) |
INBTBase |
createList(java.util.stream.Stream<INBTBase> p_createList_1_) |
INBTBase |
createLong(long p_createLong_1_) |
INBTBase |
createLongList(java.util.stream.LongStream p_createLongList_1_) |
INBTBase |
createMap(java.util.Map<INBTBase,INBTBase> p_createMap_1_) |
INBTBase |
createNumeric(java.lang.Number p_createNumeric_1_) |
INBTBase |
createShort(short p_createShort_1_) |
INBTBase |
createString(java.lang.String p_createString_1_) |
INBTBase |
empty() |
java.util.Optional<java.nio.ByteBuffer> |
getByteBuffer(INBTBase p_getByteBuffer_1_) |
java.util.Optional<java.util.stream.IntStream> |
getIntStream(INBTBase p_getIntStream_1_) |
java.util.Optional<java.util.stream.LongStream> |
getLongStream(INBTBase p_getLongStream_1_) |
java.util.Optional<java.util.Map<INBTBase,INBTBase>> |
getMapValues(INBTBase p_getMapValues_1_) |
java.util.Optional<java.lang.Number> |
getNumberValue(INBTBase p_getNumberValue_1_) |
java.util.Optional<java.util.stream.Stream<INBTBase>> |
getStream(INBTBase p_getStream_1_) |
java.util.Optional<java.lang.String> |
getStringValue(INBTBase p_getStringValue_1_) |
com.mojang.datafixers.types.Type<?> |
getType(INBTBase p_getType_1_) |
INBTBase |
merge(INBTBase p_merge_1_,
INBTBase p_merge_2_) |
INBTBase |
mergeInto(INBTBase p_mergeInto_1_,
INBTBase p_mergeInto_2_) |
INBTBase |
mergeInto(INBTBase p_mergeInto_1_,
INBTBase p_mergeInto_2_,
INBTBase p_mergeInto_3_) |
INBTBase |
remove(INBTBase p_remove_1_,
java.lang.String p_remove_2_) |
java.lang.String |
toString() |
public static final NBTDynamicOps INSTANCE
public INBTBase empty()
empty
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public com.mojang.datafixers.types.Type<?> getType(INBTBase p_getType_1_)
getType
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public java.util.Optional<java.lang.Number> getNumberValue(INBTBase p_getNumberValue_1_)
getNumberValue
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createNumeric(java.lang.Number p_createNumeric_1_)
createNumeric
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createByte(byte p_createByte_1_)
createByte
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createShort(short p_createShort_1_)
createShort
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createInt(int p_createInt_1_)
createInt
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createLong(long p_createLong_1_)
createLong
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createFloat(float p_createFloat_1_)
createFloat
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createDouble(double p_createDouble_1_)
createDouble
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public java.util.Optional<java.lang.String> getStringValue(INBTBase p_getStringValue_1_)
getStringValue
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createString(java.lang.String p_createString_1_)
createString
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase mergeInto(INBTBase p_mergeInto_1_, INBTBase p_mergeInto_2_)
mergeInto
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase mergeInto(INBTBase p_mergeInto_1_, INBTBase p_mergeInto_2_, INBTBase p_mergeInto_3_)
mergeInto
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase merge(INBTBase p_merge_1_, INBTBase p_merge_2_)
merge
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public java.util.Optional<java.util.Map<INBTBase,INBTBase>> getMapValues(INBTBase p_getMapValues_1_)
getMapValues
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createMap(java.util.Map<INBTBase,INBTBase> p_createMap_1_)
createMap
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public java.util.Optional<java.util.stream.Stream<INBTBase>> getStream(INBTBase p_getStream_1_)
getStream
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public java.util.Optional<java.nio.ByteBuffer> getByteBuffer(INBTBase p_getByteBuffer_1_)
getByteBuffer
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createByteList(java.nio.ByteBuffer p_createByteList_1_)
createByteList
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public java.util.Optional<java.util.stream.IntStream> getIntStream(INBTBase p_getIntStream_1_)
getIntStream
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createIntList(java.util.stream.IntStream p_createIntList_1_)
createIntList
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public java.util.Optional<java.util.stream.LongStream> getLongStream(INBTBase p_getLongStream_1_)
getLongStream
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createLongList(java.util.stream.LongStream p_createLongList_1_)
createLongList
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase createList(java.util.stream.Stream<INBTBase> p_createList_1_)
createList
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public INBTBase remove(INBTBase p_remove_1_, java.lang.String p_remove_2_)
remove
in interface com.mojang.datafixers.types.DynamicOps<INBTBase>
public java.lang.String toString()
toString
in class java.lang.Object