Package net.minecraft.util.dynamic
Class ForwardingDynamicOps<T>
java.lang.Object
net.minecraft.util.dynamic.ForwardingDynamicOps<T>
- All Implemented Interfaces:
com.mojang.serialization.DynamicOps<T>
- Direct Known Subclasses:
RegistryOps
public abstract class ForwardingDynamicOps<T>
extends Object
implements com.mojang.serialization.DynamicOps<T>
A dynamic ops that delegates all operations from another one.
- Mappings:
Namespace Name official yl
intermediary net/minecraft/class_5379
named net/minecraft/util/dynamic/ForwardingDynamicOps
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ForwardingDynamicOps
(com.mojang.serialization.DynamicOps<T> delegate) -
Method Summary
Modifier and TypeMethodDescriptionboolean
<U> U
createBoolean
(boolean bl) createByte
(byte b) createByteList
(ByteBuffer buf) createDouble
(double d) createFloat
(float f) createInt
(int i) createIntList
(IntStream stream) createList
(Stream<T> stream) createLong
(long l) createLongList
(LongStream stream) createNumeric
(Number number) createShort
(short s) createString
(String string) empty()
com.mojang.serialization.DataResult<Boolean>
getBooleanValue
(T input) com.mojang.serialization.DataResult<ByteBuffer>
getByteBuffer
(T input) com.mojang.serialization.DataResult<IntStream>
getIntStream
(T input) com.mojang.serialization.DataResult<LongStream>
getLongStream
(T input) com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<T>>
com.mojang.serialization.DataResult<Consumer<BiConsumer<T,
T>>> getMapEntries
(T input) getMapValues
(T input) com.mojang.serialization.DataResult<Number>
getNumberValue
(T input) com.mojang.serialization.DataResult<String>
getStringValue
(T input) com.mojang.serialization.ListBuilder<T>
com.mojang.serialization.RecordBuilder<T>
com.mojang.serialization.DataResult<T>
mergeToList
(T list, List<T> values) com.mojang.serialization.DataResult<T>
mergeToList
(T list, T value) com.mojang.serialization.DataResult<T>
mergeToMap
(T map, com.mojang.serialization.MapLike<T> values) com.mojang.serialization.DataResult<T>
mergeToMap
(T map, T key, T value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.serialization.DynamicOps
convertList, convertMap, createMap, emptyList, emptyMap, get, getGeneric, getNumberValue, mergeToMap, mergeToPrimitive, set, update, updateGeneric, withDecoder, withEncoder, withParser
-
Field Details
-
delegate
- Mappings:
Namespace Name Mixin selector official a
Lyl;a:Lcom/mojang/serialization/DynamicOps;
intermediary field_25503
Lnet/minecraft/class_5379;field_25503:Lcom/mojang/serialization/DynamicOps;
named delegate
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;delegate:Lcom/mojang/serialization/DynamicOps;
-
-
Constructor Details
-
ForwardingDynamicOps
- Mappings:
Namespace Name Mixin selector official <init>
Lyl;<init>(Lcom/mojang/serialization/DynamicOps;)V
intermediary <init>
Lnet/minecraft/class_5379;<init>(Lcom/mojang/serialization/DynamicOps;)V
named <init>
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;<init>(Lcom/mojang/serialization/DynamicOps;)V
-
-
Method Details
-
empty
- Specified by:
empty
in interfacecom.mojang.serialization.DynamicOps<T>
-
convertTo
- Specified by:
convertTo
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official convertTo
Lyl;convertTo(Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Ljava/lang/Object;
intermediary convertTo
Lnet/minecraft/class_5379;convertTo(Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Ljava/lang/Object;
named convertTo
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;convertTo(Lcom/mojang/serialization/DynamicOps;Ljava/lang/Object;)Ljava/lang/Object;
-
getNumberValue
- Specified by:
getNumberValue
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getNumberValue
Lyl;getNumberValue(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getNumberValue
Lnet/minecraft/class_5379;getNumberValue(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getNumberValue
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getNumberValue(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
createNumeric
- Specified by:
createNumeric
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createNumeric
Lyl;createNumeric(Ljava/lang/Number;)Ljava/lang/Object;
intermediary createNumeric
Lnet/minecraft/class_5379;createNumeric(Ljava/lang/Number;)Ljava/lang/Object;
named createNumeric
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createNumeric(Ljava/lang/Number;)Ljava/lang/Object;
-
createByte
- Specified by:
createByte
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createByte
Lyl;createByte(B)Ljava/lang/Object;
intermediary createByte
Lnet/minecraft/class_5379;createByte(B)Ljava/lang/Object;
named createByte
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createByte(B)Ljava/lang/Object;
-
createShort
- Specified by:
createShort
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createShort
Lyl;createShort(S)Ljava/lang/Object;
intermediary createShort
Lnet/minecraft/class_5379;createShort(S)Ljava/lang/Object;
named createShort
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createShort(S)Ljava/lang/Object;
-
createInt
- Specified by:
createInt
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createInt
Lyl;createInt(I)Ljava/lang/Object;
intermediary createInt
Lnet/minecraft/class_5379;createInt(I)Ljava/lang/Object;
named createInt
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createInt(I)Ljava/lang/Object;
-
createLong
- Specified by:
createLong
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createLong
Lyl;createLong(J)Ljava/lang/Object;
intermediary createLong
Lnet/minecraft/class_5379;createLong(J)Ljava/lang/Object;
named createLong
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createLong(J)Ljava/lang/Object;
-
createFloat
- Specified by:
createFloat
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createFloat
Lyl;createFloat(F)Ljava/lang/Object;
intermediary createFloat
Lnet/minecraft/class_5379;createFloat(F)Ljava/lang/Object;
named createFloat
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createFloat(F)Ljava/lang/Object;
-
createDouble
- Specified by:
createDouble
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createDouble
Lyl;createDouble(D)Ljava/lang/Object;
intermediary createDouble
Lnet/minecraft/class_5379;createDouble(D)Ljava/lang/Object;
named createDouble
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createDouble(D)Ljava/lang/Object;
-
getBooleanValue
- Specified by:
getBooleanValue
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getBooleanValue
Lyl;getBooleanValue(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getBooleanValue
Lnet/minecraft/class_5379;getBooleanValue(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getBooleanValue
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getBooleanValue(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
createBoolean
- Specified by:
createBoolean
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createBoolean
Lyl;createBoolean(Z)Ljava/lang/Object;
intermediary createBoolean
Lnet/minecraft/class_5379;createBoolean(Z)Ljava/lang/Object;
named createBoolean
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createBoolean(Z)Ljava/lang/Object;
-
getStringValue
- Specified by:
getStringValue
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getStringValue
Lyl;getStringValue(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getStringValue
Lnet/minecraft/class_5379;getStringValue(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getStringValue
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getStringValue(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
createString
- Specified by:
createString
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createString
Lyl;createString(Ljava/lang/String;)Ljava/lang/Object;
intermediary createString
Lnet/minecraft/class_5379;createString(Ljava/lang/String;)Ljava/lang/Object;
named createString
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createString(Ljava/lang/String;)Ljava/lang/Object;
-
mergeToList
- Specified by:
mergeToList
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official mergeToList
Lyl;mergeToList(Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary mergeToList
Lnet/minecraft/class_5379;mergeToList(Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named mergeToList
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;mergeToList(Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
mergeToList
- Specified by:
mergeToList
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official mergeToList
Lyl;mergeToList(Ljava/lang/Object;Ljava/util/List;)Lcom/mojang/serialization/DataResult;
intermediary mergeToList
Lnet/minecraft/class_5379;mergeToList(Ljava/lang/Object;Ljava/util/List;)Lcom/mojang/serialization/DataResult;
named mergeToList
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;mergeToList(Ljava/lang/Object;Ljava/util/List;)Lcom/mojang/serialization/DataResult;
-
mergeToMap
- Specified by:
mergeToMap
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official mergeToMap
Lyl;mergeToMap(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary mergeToMap
Lnet/minecraft/class_5379;mergeToMap(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named mergeToMap
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;mergeToMap(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
mergeToMap
public com.mojang.serialization.DataResult<T> mergeToMap(T map, com.mojang.serialization.MapLike<T> values) - Specified by:
mergeToMap
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official mergeToMap
Lyl;mergeToMap(Ljava/lang/Object;Lcom/mojang/serialization/MapLike;)Lcom/mojang/serialization/DataResult;
intermediary mergeToMap
Lnet/minecraft/class_5379;mergeToMap(Ljava/lang/Object;Lcom/mojang/serialization/MapLike;)Lcom/mojang/serialization/DataResult;
named mergeToMap
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;mergeToMap(Ljava/lang/Object;Lcom/mojang/serialization/MapLike;)Lcom/mojang/serialization/DataResult;
-
getMapValues
public com.mojang.serialization.DataResult<Stream<com.mojang.datafixers.util.Pair<T,T>>> getMapValues(T input) - Specified by:
getMapValues
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getMapValues
Lyl;getMapValues(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getMapValues
Lnet/minecraft/class_5379;getMapValues(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getMapValues
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getMapValues(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
getMapEntries
- Specified by:
getMapEntries
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getMapEntries
Lyl;getMapEntries(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getMapEntries
Lnet/minecraft/class_5379;getMapEntries(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getMapEntries
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getMapEntries(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
createMap
- Specified by:
createMap
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createMap
Lyl;createMap(Ljava/util/stream/Stream;)Ljava/lang/Object;
intermediary createMap
Lnet/minecraft/class_5379;createMap(Ljava/util/stream/Stream;)Ljava/lang/Object;
named createMap
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createMap(Ljava/util/stream/Stream;)Ljava/lang/Object;
-
getMap
- Specified by:
getMap
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getMap
Lyl;getMap(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getMap
Lnet/minecraft/class_5379;getMap(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getMap
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getMap(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
getStream
- Specified by:
getStream
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getStream
Lyl;getStream(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getStream
Lnet/minecraft/class_5379;getStream(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getStream
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getStream(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
getList
- Specified by:
getList
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getList
Lyl;getList(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getList
Lnet/minecraft/class_5379;getList(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getList
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getList(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
createList
- Specified by:
createList
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createList
Lyl;createList(Ljava/util/stream/Stream;)Ljava/lang/Object;
intermediary createList
Lnet/minecraft/class_5379;createList(Ljava/util/stream/Stream;)Ljava/lang/Object;
named createList
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createList(Ljava/util/stream/Stream;)Ljava/lang/Object;
-
getByteBuffer
- Specified by:
getByteBuffer
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getByteBuffer
Lyl;getByteBuffer(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getByteBuffer
Lnet/minecraft/class_5379;getByteBuffer(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getByteBuffer
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getByteBuffer(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
createByteList
- Specified by:
createByteList
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createByteList
Lyl;createByteList(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
intermediary createByteList
Lnet/minecraft/class_5379;createByteList(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
named createByteList
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createByteList(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
-
getIntStream
- Specified by:
getIntStream
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getIntStream
Lyl;getIntStream(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getIntStream
Lnet/minecraft/class_5379;getIntStream(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getIntStream
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getIntStream(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
createIntList
- Specified by:
createIntList
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createIntList
Lyl;createIntList(Ljava/util/stream/IntStream;)Ljava/lang/Object;
intermediary createIntList
Lnet/minecraft/class_5379;createIntList(Ljava/util/stream/IntStream;)Ljava/lang/Object;
named createIntList
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createIntList(Ljava/util/stream/IntStream;)Ljava/lang/Object;
-
getLongStream
- Specified by:
getLongStream
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official getLongStream
Lyl;getLongStream(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
intermediary getLongStream
Lnet/minecraft/class_5379;getLongStream(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
named getLongStream
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;getLongStream(Ljava/lang/Object;)Lcom/mojang/serialization/DataResult;
-
createLongList
- Specified by:
createLongList
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official createLongList
Lyl;createLongList(Ljava/util/stream/LongStream;)Ljava/lang/Object;
intermediary createLongList
Lnet/minecraft/class_5379;createLongList(Ljava/util/stream/LongStream;)Ljava/lang/Object;
named createLongList
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;createLongList(Ljava/util/stream/LongStream;)Ljava/lang/Object;
-
remove
- Specified by:
remove
in interfacecom.mojang.serialization.DynamicOps<T>
- Mappings:
Namespace Name Mixin selector official remove
Lyl;remove(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
intermediary remove
Lnet/minecraft/class_5379;remove(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
named remove
Lnet/minecraft/util/dynamic/ForwardingDynamicOps;remove(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
-
compressMaps
public boolean compressMaps()- Specified by:
compressMaps
in interfacecom.mojang.serialization.DynamicOps<T>
-
listBuilder
- Specified by:
listBuilder
in interfacecom.mojang.serialization.DynamicOps<T>
-
mapBuilder
- Specified by:
mapBuilder
in interfacecom.mojang.serialization.DynamicOps<T>
-