Package net.minecraft.util
Class NullOps
java.lang.Object
net.minecraft.util.NullOps
- All Implemented Interfaces:
com.mojang.serialization.DynamicOps<Unit>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<U> U
createBoolean
(boolean p_332728_) createByte
(byte p_332993_) createByteList
(ByteBuffer p_333560_) createDouble
(double p_329743_) createFloat
(float p_328652_) createInt
(int p_336243_) createIntList
(IntStream p_329926_) createList
(Stream<Unit> p_335375_) createLong
(long p_332190_) createLongList
(LongStream p_333189_) createNumeric
(Number p_333368_) createShort
(short p_327812_) createString
(String p_331594_) empty()
emptyMap()
com.mojang.serialization.DataResult
<Boolean> getBooleanValue
(Unit p_330383_) com.mojang.serialization.DataResult
<ByteBuffer> getByteBuffer
(Unit p_334054_) com.mojang.serialization.DataResult
<IntStream> getIntStream
(Unit p_328303_) com.mojang.serialization.DataResult
<LongStream> getLongStream
(Unit p_331380_) com.mojang.serialization.DataResult
<com.mojang.serialization.MapLike<Unit>> com.mojang.serialization.DataResult
<Consumer<BiConsumer<Unit, Unit>>> getMapEntries
(Unit p_328934_) getMapValues
(Unit p_332179_) com.mojang.serialization.DataResult
<Number> getNumberValue
(Unit p_331567_) com.mojang.serialization.DataResult
<String> getStringValue
(Unit p_328159_) com.mojang.serialization.RecordBuilder
<Unit> com.mojang.serialization.DataResult
<Unit> mergeToList
(Unit p_330584_, List<Unit> p_335250_) com.mojang.serialization.DataResult
<Unit> mergeToList
(Unit p_332194_, Unit p_331336_) com.mojang.serialization.DataResult
<Unit> mergeToMap
(Unit p_332286_, com.mojang.serialization.MapLike<Unit> p_332604_) com.mojang.serialization.DataResult
<Unit> mergeToMap
(Unit p_332909_, Map<Unit, Unit> p_336158_) com.mojang.serialization.DataResult
<Unit> mergeToMap
(Unit p_328865_, Unit p_336101_, Unit p_328794_) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.mojang.serialization.DynamicOps
compressMaps, convertList, convertMap, get, getGeneric, getNumberValue, listBuilder, mergeToPrimitive, set, update, updateGeneric, withDecoder, withEncoder, withParser
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NullOps
private NullOps()
-
-
Method Details
-
convertTo
- Specified by:
convertTo
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
empty
- Specified by:
empty
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
emptyMap
- Specified by:
emptyMap
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
emptyList
- Specified by:
emptyList
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createNumeric
- Specified by:
createNumeric
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createByte
- Specified by:
createByte
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createShort
- Specified by:
createShort
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createInt
- Specified by:
createInt
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createLong
- Specified by:
createLong
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createFloat
- Specified by:
createFloat
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createDouble
- Specified by:
createDouble
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createBoolean
- Specified by:
createBoolean
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createString
- Specified by:
createString
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getNumberValue
- Specified by:
getNumberValue
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getBooleanValue
- Specified by:
getBooleanValue
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getStringValue
- Specified by:
getStringValue
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
mergeToList
- Specified by:
mergeToList
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
mergeToList
- Specified by:
mergeToList
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
mergeToMap
public com.mojang.serialization.DataResult<Unit> mergeToMap(Unit p_328865_, Unit p_336101_, Unit p_328794_) - Specified by:
mergeToMap
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
mergeToMap
public com.mojang.serialization.DataResult<Unit> mergeToMap(Unit p_332909_, Map<Unit, Unit> p_336158_) - Specified by:
mergeToMap
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
mergeToMap
public com.mojang.serialization.DataResult<Unit> mergeToMap(Unit p_332286_, com.mojang.serialization.MapLike<Unit> p_332604_) - Specified by:
mergeToMap
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getMapValues
public com.mojang.serialization.DataResult<Stream<com.mojang.datafixers.util.Pair<Unit,Unit>>> getMapValues(Unit p_332179_) - Specified by:
getMapValues
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getMapEntries
public com.mojang.serialization.DataResult<Consumer<BiConsumer<Unit,Unit>>> getMapEntries(Unit p_328934_) - Specified by:
getMapEntries
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getMap
public com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Unit>> getMap(Unit p_335542_) - Specified by:
getMap
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getStream
- Specified by:
getStream
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getList
- Specified by:
getList
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getByteBuffer
- Specified by:
getByteBuffer
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getIntStream
- Specified by:
getIntStream
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getLongStream
- Specified by:
getLongStream
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createMap
- Specified by:
createMap
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createMap
- Specified by:
createMap
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createList
- Specified by:
createList
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createByteList
- Specified by:
createByteList
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createIntList
- Specified by:
createIntList
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
createLongList
- Specified by:
createLongList
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
remove
- Specified by:
remove
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
mapBuilder
- Specified by:
mapBuilder
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
toString
-