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 aat
intermediary net/minecraft/class_5379
named net/minecraft/util/dynamic/ForwardingDynamicOps
  • Field Details

    • delegate

      protected final com.mojang.serialization.DynamicOps<T> delegate
      Mappings:
      Namespace Name Mixin selector
      official a Laat;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

      protected ForwardingDynamicOps(com.mojang.serialization.DynamicOps<T> delegate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laat;<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

      public T empty()
      Specified by:
      empty in interface com.mojang.serialization.DynamicOps<T>
    • convertTo

      public <U> U convertTo(com.mojang.serialization.DynamicOps<U> outputOps, T input)
      Specified by:
      convertTo in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official convertTo Laat;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

      public com.mojang.serialization.DataResult<Number> getNumberValue(T input)
      Specified by:
      getNumberValue in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getNumberValue Laat;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

      public T createNumeric(Number number)
      Specified by:
      createNumeric in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createNumeric Laat;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

      public T createByte(byte b)
      Specified by:
      createByte in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createByte Laat;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

      public T createShort(short s)
      Specified by:
      createShort in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createShort Laat;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

      public T createInt(int i)
      Specified by:
      createInt in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createInt Laat;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

      public T createLong(long l)
      Specified by:
      createLong in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createLong Laat;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

      public T createFloat(float f)
      Specified by:
      createFloat in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createFloat Laat;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

      public T createDouble(double d)
      Specified by:
      createDouble in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createDouble Laat;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

      public com.mojang.serialization.DataResult<Boolean> getBooleanValue(T input)
      Specified by:
      getBooleanValue in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getBooleanValue Laat;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

      public T createBoolean(boolean bl)
      Specified by:
      createBoolean in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createBoolean Laat;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

      public com.mojang.serialization.DataResult<String> getStringValue(T input)
      Specified by:
      getStringValue in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getStringValue Laat;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

      public T createString(String string)
      Specified by:
      createString in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createString Laat;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

      public com.mojang.serialization.DataResult<T> mergeToList(T list, T value)
      Specified by:
      mergeToList in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official mergeToList Laat;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

      public com.mojang.serialization.DataResult<T> mergeToList(T list, List<T> values)
      Specified by:
      mergeToList in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official mergeToList Laat;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

      public com.mojang.serialization.DataResult<T> mergeToMap(T map, T key, T value)
      Specified by:
      mergeToMap in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official mergeToMap Laat;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 interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official mergeToMap Laat;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 interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getMapValues Laat;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

      public com.mojang.serialization.DataResult<Consumer<BiConsumer<T,T>>> getMapEntries(T input)
      Specified by:
      getMapEntries in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getMapEntries Laat;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

      public T createMap(Stream<com.mojang.datafixers.util.Pair<T,T>> map)
      Specified by:
      createMap in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createMap Laat;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

      public com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<T>> getMap(T input)
      Specified by:
      getMap in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getMap Laat;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

      public com.mojang.serialization.DataResult<Stream<T>> getStream(T input)
      Specified by:
      getStream in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getStream Laat;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

      public com.mojang.serialization.DataResult<Consumer<Consumer<T>>> getList(T input)
      Specified by:
      getList in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getList Laat;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

      public T createList(Stream<T> stream)
      Specified by:
      createList in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createList Laat;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

      public com.mojang.serialization.DataResult<ByteBuffer> getByteBuffer(T input)
      Specified by:
      getByteBuffer in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getByteBuffer Laat;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

      public T createByteList(ByteBuffer buf)
      Specified by:
      createByteList in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createByteList Laat;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

      public com.mojang.serialization.DataResult<IntStream> getIntStream(T input)
      Specified by:
      getIntStream in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getIntStream Laat;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

      public T createIntList(IntStream stream)
      Specified by:
      createIntList in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createIntList Laat;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

      public com.mojang.serialization.DataResult<LongStream> getLongStream(T input)
      Specified by:
      getLongStream in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official getLongStream Laat;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

      public T createLongList(LongStream stream)
      Specified by:
      createLongList in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official createLongList Laat;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

      public T remove(T input, String key)
      Specified by:
      remove in interface com.mojang.serialization.DynamicOps<T>
      Mappings:
      Namespace Name Mixin selector
      official remove Laat;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 interface com.mojang.serialization.DynamicOps<T>
    • listBuilder

      public com.mojang.serialization.ListBuilder<T> listBuilder()
      Specified by:
      listBuilder in interface com.mojang.serialization.DynamicOps<T>
    • mapBuilder

      public com.mojang.serialization.RecordBuilder<T> mapBuilder()
      Specified by:
      mapBuilder in interface com.mojang.serialization.DynamicOps<T>