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