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_341283_) createByte
(byte p_341017_) createByteList
(ByteBuffer p_340905_) createDouble
(double p_341242_) createFloat
(float p_341123_) createInt
(int p_341029_) createIntList
(IntStream p_341326_) createList
(Stream<Unit> p_341162_) createLong
(long p_341019_) createLongList
(LongStream p_341025_) createNumeric
(Number p_341390_) createShort
(short p_340945_) createString
(String p_341226_) empty()
emptyMap()
com.mojang.serialization.DataResult
<Boolean> getBooleanValue
(Unit p_341106_) com.mojang.serialization.DataResult
<ByteBuffer> getByteBuffer
(Unit p_341064_) com.mojang.serialization.DataResult
<IntStream> getIntStream
(Unit p_341012_) com.mojang.serialization.DataResult
<LongStream> getLongStream
(Unit p_341130_) com.mojang.serialization.DataResult
<com.mojang.serialization.MapLike<Unit>> com.mojang.serialization.DataResult
<Consumer<BiConsumer<Unit, Unit>>> getMapEntries
(Unit p_340815_) getMapValues
(Unit p_341031_) com.mojang.serialization.DataResult
<Number> getNumberValue
(Unit p_340886_) com.mojang.serialization.DataResult
<String> getStringValue
(Unit p_341344_) com.mojang.serialization.RecordBuilder
<Unit> com.mojang.serialization.DataResult
<Unit> mergeToList
(Unit p_340869_, List<Unit> p_340960_) com.mojang.serialization.DataResult
<Unit> mergeToList
(Unit p_340991_, Unit p_341154_) com.mojang.serialization.DataResult
<Unit> mergeToMap
(Unit p_340862_, com.mojang.serialization.MapLike<Unit> p_341115_) com.mojang.serialization.DataResult
<Unit> mergeToMap
(Unit p_340821_, Map<Unit, Unit> p_341065_) com.mojang.serialization.DataResult
<Unit> mergeToMap
(Unit p_340850_, Unit p_341356_, Unit p_341172_) 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_340850_, Unit p_341356_, Unit p_341172_) - Specified by:
mergeToMap
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
mergeToMap
public com.mojang.serialization.DataResult<Unit> mergeToMap(Unit p_340821_, Map<Unit, Unit> p_341065_) - Specified by:
mergeToMap
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
mergeToMap
public com.mojang.serialization.DataResult<Unit> mergeToMap(Unit p_340862_, com.mojang.serialization.MapLike<Unit> p_341115_) - 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_341031_) - Specified by:
getMapValues
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getMapEntries
public com.mojang.serialization.DataResult<Consumer<BiConsumer<Unit,Unit>>> getMapEntries(Unit p_340815_) - Specified by:
getMapEntries
in interfacecom.mojang.serialization.DynamicOps<Unit>
-
getMap
public com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Unit>> getMap(Unit p_341149_) - 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
-