Class NullOps

java.lang.Object
net.minecraft.util.dynamic.NullOps
All Implemented Interfaces:
com.mojang.serialization.DynamicOps<Unit>

public class NullOps extends Object implements com.mojang.serialization.DynamicOps<Unit>
Mappings:
Namespace Name
named net/minecraft/util/dynamic/NullOps
intermediary net/minecraft/class_9637
official ayi
  • Field Details

    • INSTANCE

      public static final NullOps INSTANCE
      Mappings:
      Namespace Name Mixin selector
      named INSTANCE Lnet/minecraft/util/dynamic/NullOps;INSTANCE:Lnet/minecraft/util/dynamic/NullOps;
      intermediary field_51366 Lnet/minecraft/class_9637;field_51366:Lnet/minecraft/class_9637;
      official a Layi;a:Layi;
  • Constructor Details

    • NullOps

      private NullOps()
  • Method Details

    • convertTo

      public <U> U convertTo(com.mojang.serialization.DynamicOps<U> dynamicOps, Unit unit)
      Specified by:
      convertTo in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named convertTo Lnet/minecraft/util/dynamic/NullOps;convertTo(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/util/Unit;)Ljava/lang/Object;
      intermediary method_59568 Lnet/minecraft/class_9637;method_59568(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_3902;)Ljava/lang/Object;
      official a Layi;a(Lcom/mojang/serialization/DynamicOps;Lazk;)Ljava/lang/Object;
    • empty

      public Unit empty()
      Specified by:
      empty in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named empty Lnet/minecraft/util/dynamic/NullOps;empty()Lnet/minecraft/util/Unit;
      intermediary method_59555 Lnet/minecraft/class_9637;method_59555()Lnet/minecraft/class_3902;
      official a Layi;a()Lazk;
    • emptyMap

      public Unit emptyMap()
      Specified by:
      emptyMap in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named emptyMap Lnet/minecraft/util/dynamic/NullOps;emptyMap()Lnet/minecraft/util/Unit;
      intermediary method_59578 Lnet/minecraft/class_9637;method_59578()Lnet/minecraft/class_3902;
      official b Layi;b()Lazk;
    • emptyList

      public Unit emptyList()
      Specified by:
      emptyList in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named emptyList Lnet/minecraft/util/dynamic/NullOps;emptyList()Lnet/minecraft/util/Unit;
      intermediary method_59581 Lnet/minecraft/class_9637;method_59581()Lnet/minecraft/class_3902;
      official c Layi;c()Lazk;
    • createNumeric

      public Unit createNumeric(Number number)
      Specified by:
      createNumeric in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createNumeric Lnet/minecraft/util/dynamic/NullOps;createNumeric(Ljava/lang/Number;)Lnet/minecraft/util/Unit;
      intermediary method_59569 Lnet/minecraft/class_9637;method_59569(Ljava/lang/Number;)Lnet/minecraft/class_3902;
      official a Layi;a(Ljava/lang/Number;)Lazk;
    • createByte

      public Unit createByte(byte byte2)
      Specified by:
      createByte in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createByte Lnet/minecraft/util/dynamic/NullOps;createByte(B)Lnet/minecraft/util/Unit;
      intermediary method_59556 Lnet/minecraft/class_9637;method_59556(B)Lnet/minecraft/class_3902;
      official a Layi;a(B)Lazk;
    • createShort

      public Unit createShort(short short2)
      Specified by:
      createShort in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createShort Lnet/minecraft/util/dynamic/NullOps;createShort(S)Lnet/minecraft/util/Unit;
      intermediary method_59576 Lnet/minecraft/class_9637;method_59576(S)Lnet/minecraft/class_3902;
      official a Layi;a(S)Lazk;
    • createInt

      public Unit createInt(int int2)
      Specified by:
      createInt in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createInt Lnet/minecraft/util/dynamic/NullOps;createInt(I)Lnet/minecraft/util/Unit;
      intermediary method_59559 Lnet/minecraft/class_9637;method_59559(I)Lnet/minecraft/class_3902;
      official a Layi;a(I)Lazk;
    • createLong

      public Unit createLong(long long2)
      Specified by:
      createLong in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createLong Lnet/minecraft/util/dynamic/NullOps;createLong(J)Lnet/minecraft/util/Unit;
      intermediary method_59560 Lnet/minecraft/class_9637;method_59560(J)Lnet/minecraft/class_3902;
      official a Layi;a(J)Lazk;
    • createFloat

      public Unit createFloat(float float2)
      Specified by:
      createFloat in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createFloat Lnet/minecraft/util/dynamic/NullOps;createFloat(F)Lnet/minecraft/util/Unit;
      intermediary method_59558 Lnet/minecraft/class_9637;method_59558(F)Lnet/minecraft/class_3902;
      official a Layi;a(F)Lazk;
    • createDouble

      public Unit createDouble(double double2)
      Specified by:
      createDouble in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createDouble Lnet/minecraft/util/dynamic/NullOps;createDouble(D)Lnet/minecraft/util/Unit;
      intermediary method_59557 Lnet/minecraft/class_9637;method_59557(D)Lnet/minecraft/class_3902;
      official a Layi;a(D)Lazk;
    • createBoolean

      public Unit createBoolean(boolean bool)
      Specified by:
      createBoolean in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createBoolean Lnet/minecraft/util/dynamic/NullOps;createBoolean(Z)Lnet/minecraft/util/Unit;
      intermediary method_59577 Lnet/minecraft/class_9637;method_59577(Z)Lnet/minecraft/class_3902;
      official a Layi;a(Z)Lazk;
    • createString

      public Unit createString(String string)
      Specified by:
      createString in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createString Lnet/minecraft/util/dynamic/NullOps;createString(Ljava/lang/String;)Lnet/minecraft/util/Unit;
      intermediary method_59570 Lnet/minecraft/class_9637;method_59570(Ljava/lang/String;)Lnet/minecraft/class_3902;
      official a Layi;a(Ljava/lang/String;)Lazk;
    • getNumberValue

      public com.mojang.serialization.DataResult<Number> getNumberValue(Unit unit)
      Specified by:
      getNumberValue in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getNumberValue Lnet/minecraft/util/dynamic/NullOps;getNumberValue(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59561 Lnet/minecraft/class_9637;method_59561(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official a Layi;a(Lazk;)Lcom/mojang/serialization/DataResult;
    • getBooleanValue

      public com.mojang.serialization.DataResult<Boolean> getBooleanValue(Unit unit)
      Specified by:
      getBooleanValue in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getBooleanValue Lnet/minecraft/util/dynamic/NullOps;getBooleanValue(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59579 Lnet/minecraft/class_9637;method_59579(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official b Layi;b(Lazk;)Lcom/mojang/serialization/DataResult;
    • getStringValue

      public com.mojang.serialization.DataResult<String> getStringValue(Unit unit)
      Specified by:
      getStringValue in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getStringValue Lnet/minecraft/util/dynamic/NullOps;getStringValue(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59582 Lnet/minecraft/class_9637;method_59582(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official c Layi;c(Lazk;)Lcom/mojang/serialization/DataResult;
    • mergeToList

      public com.mojang.serialization.DataResult<Unit> mergeToList(Unit unit, Unit unit2)
      Specified by:
      mergeToList in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named mergeToList Lnet/minecraft/util/dynamic/NullOps;mergeToList(Lnet/minecraft/util/Unit;Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59562 Lnet/minecraft/class_9637;method_59562(Lnet/minecraft/class_3902;Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official a Layi;a(Lazk;Lazk;)Lcom/mojang/serialization/DataResult;
    • mergeToList

      public com.mojang.serialization.DataResult<Unit> mergeToList(Unit unit, List<Unit> list)
      Specified by:
      mergeToList in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named mergeToList Lnet/minecraft/util/dynamic/NullOps;mergeToList(Lnet/minecraft/util/Unit;Ljava/util/List;)Lcom/mojang/serialization/DataResult;
      intermediary method_59566 Lnet/minecraft/class_9637;method_59566(Lnet/minecraft/class_3902;Ljava/util/List;)Lcom/mojang/serialization/DataResult;
      official a Layi;a(Lazk;Ljava/util/List;)Lcom/mojang/serialization/DataResult;
    • mergeToMap

      public com.mojang.serialization.DataResult<Unit> mergeToMap(Unit unit, Unit unit2, Unit unit3)
      Specified by:
      mergeToMap in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named mergeToMap Lnet/minecraft/util/dynamic/NullOps;mergeToMap(Lnet/minecraft/util/Unit;Lnet/minecraft/util/Unit;Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59563 Lnet/minecraft/class_9637;method_59563(Lnet/minecraft/class_3902;Lnet/minecraft/class_3902;Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official a Layi;a(Lazk;Lazk;Lazk;)Lcom/mojang/serialization/DataResult;
    • mergeToMap

      public com.mojang.serialization.DataResult<Unit> mergeToMap(Unit unit, Map<Unit,Unit> map)
      Specified by:
      mergeToMap in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named mergeToMap Lnet/minecraft/util/dynamic/NullOps;mergeToMap(Lnet/minecraft/util/Unit;Ljava/util/Map;)Lcom/mojang/serialization/DataResult;
      intermediary method_59567 Lnet/minecraft/class_9637;method_59567(Lnet/minecraft/class_3902;Ljava/util/Map;)Lcom/mojang/serialization/DataResult;
      official a Layi;a(Lazk;Ljava/util/Map;)Lcom/mojang/serialization/DataResult;
    • mergeToMap

      public com.mojang.serialization.DataResult<Unit> mergeToMap(Unit unit, com.mojang.serialization.MapLike<Unit> mapLike)
      Specified by:
      mergeToMap in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named mergeToMap Lnet/minecraft/util/dynamic/NullOps;mergeToMap(Lnet/minecraft/util/Unit;Lcom/mojang/serialization/MapLike;)Lcom/mojang/serialization/DataResult;
      intermediary method_59564 Lnet/minecraft/class_9637;method_59564(Lnet/minecraft/class_3902;Lcom/mojang/serialization/MapLike;)Lcom/mojang/serialization/DataResult;
      official a Layi;a(Lazk;Lcom/mojang/serialization/MapLike;)Lcom/mojang/serialization/DataResult;
    • getMapValues

      public com.mojang.serialization.DataResult<Stream<com.mojang.datafixers.util.Pair<Unit,Unit>>> getMapValues(Unit unit)
      Specified by:
      getMapValues in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getMapValues Lnet/minecraft/util/dynamic/NullOps;getMapValues(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59584 Lnet/minecraft/class_9637;method_59584(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official d Layi;d(Lazk;)Lcom/mojang/serialization/DataResult;
    • getMapEntries

      public com.mojang.serialization.DataResult<Consumer<BiConsumer<Unit,Unit>>> getMapEntries(Unit unit)
      Specified by:
      getMapEntries in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getMapEntries Lnet/minecraft/util/dynamic/NullOps;getMapEntries(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59586 Lnet/minecraft/class_9637;method_59586(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official e Layi;e(Lazk;)Lcom/mojang/serialization/DataResult;
    • getMap

      public com.mojang.serialization.DataResult<com.mojang.serialization.MapLike<Unit>> getMap(Unit unit)
      Specified by:
      getMap in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getMap Lnet/minecraft/util/dynamic/NullOps;getMap(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59588 Lnet/minecraft/class_9637;method_59588(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official f Layi;f(Lazk;)Lcom/mojang/serialization/DataResult;
    • getStream

      public com.mojang.serialization.DataResult<Stream<Unit>> getStream(Unit unit)
      Specified by:
      getStream in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getStream Lnet/minecraft/util/dynamic/NullOps;getStream(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59590 Lnet/minecraft/class_9637;method_59590(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official g Layi;g(Lazk;)Lcom/mojang/serialization/DataResult;
    • getList

      public com.mojang.serialization.DataResult<Consumer<Consumer<Unit>>> getList(Unit unit)
      Specified by:
      getList in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getList Lnet/minecraft/util/dynamic/NullOps;getList(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59592 Lnet/minecraft/class_9637;method_59592(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official h Layi;h(Lazk;)Lcom/mojang/serialization/DataResult;
    • getByteBuffer

      public com.mojang.serialization.DataResult<ByteBuffer> getByteBuffer(Unit unit)
      Specified by:
      getByteBuffer in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getByteBuffer Lnet/minecraft/util/dynamic/NullOps;getByteBuffer(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59594 Lnet/minecraft/class_9637;method_59594(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official i Layi;i(Lazk;)Lcom/mojang/serialization/DataResult;
    • getIntStream

      public com.mojang.serialization.DataResult<IntStream> getIntStream(Unit unit)
      Specified by:
      getIntStream in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getIntStream Lnet/minecraft/util/dynamic/NullOps;getIntStream(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59596 Lnet/minecraft/class_9637;method_59596(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official j Layi;j(Lazk;)Lcom/mojang/serialization/DataResult;
    • getLongStream

      public com.mojang.serialization.DataResult<LongStream> getLongStream(Unit unit)
      Specified by:
      getLongStream in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named getLongStream Lnet/minecraft/util/dynamic/NullOps;getLongStream(Lnet/minecraft/util/Unit;)Lcom/mojang/serialization/DataResult;
      intermediary method_59598 Lnet/minecraft/class_9637;method_59598(Lnet/minecraft/class_3902;)Lcom/mojang/serialization/DataResult;
      official k Layi;k(Lazk;)Lcom/mojang/serialization/DataResult;
    • createMap

      public Unit createMap(Stream<com.mojang.datafixers.util.Pair<Unit,Unit>> stream)
      Specified by:
      createMap in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createMap Lnet/minecraft/util/dynamic/NullOps;createMap(Ljava/util/stream/Stream;)Lnet/minecraft/util/Unit;
      intermediary method_59575 Lnet/minecraft/class_9637;method_59575(Ljava/util/stream/Stream;)Lnet/minecraft/class_3902;
      official a Layi;a(Ljava/util/stream/Stream;)Lazk;
    • createMap

      public Unit createMap(Map<Unit,Unit> map)
      Specified by:
      createMap in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createMap Lnet/minecraft/util/dynamic/NullOps;createMap(Ljava/util/Map;)Lnet/minecraft/util/Unit;
      intermediary method_59572 Lnet/minecraft/class_9637;method_59572(Ljava/util/Map;)Lnet/minecraft/class_3902;
      official a Layi;a(Ljava/util/Map;)Lazk;
    • createList

      public Unit createList(Stream<Unit> stream)
      Specified by:
      createList in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createList Lnet/minecraft/util/dynamic/NullOps;createList(Ljava/util/stream/Stream;)Lnet/minecraft/util/Unit;
      intermediary method_59580 Lnet/minecraft/class_9637;method_59580(Ljava/util/stream/Stream;)Lnet/minecraft/class_3902;
      official b Layi;b(Ljava/util/stream/Stream;)Lazk;
    • createByteList

      public Unit createByteList(ByteBuffer byteBuffer)
      Specified by:
      createByteList in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createByteList Lnet/minecraft/util/dynamic/NullOps;createByteList(Ljava/nio/ByteBuffer;)Lnet/minecraft/util/Unit;
      intermediary method_59571 Lnet/minecraft/class_9637;method_59571(Ljava/nio/ByteBuffer;)Lnet/minecraft/class_3902;
      official a Layi;a(Ljava/nio/ByteBuffer;)Lazk;
    • createIntList

      public Unit createIntList(IntStream intStream)
      Specified by:
      createIntList in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createIntList Lnet/minecraft/util/dynamic/NullOps;createIntList(Ljava/util/stream/IntStream;)Lnet/minecraft/util/Unit;
      intermediary method_59573 Lnet/minecraft/class_9637;method_59573(Ljava/util/stream/IntStream;)Lnet/minecraft/class_3902;
      official a Layi;a(Ljava/util/stream/IntStream;)Lazk;
    • createLongList

      public Unit createLongList(LongStream longStream)
      Specified by:
      createLongList in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named createLongList Lnet/minecraft/util/dynamic/NullOps;createLongList(Ljava/util/stream/LongStream;)Lnet/minecraft/util/Unit;
      intermediary method_59574 Lnet/minecraft/class_9637;method_59574(Ljava/util/stream/LongStream;)Lnet/minecraft/class_3902;
      official a Layi;a(Ljava/util/stream/LongStream;)Lazk;
    • remove

      public Unit remove(Unit unit, String string)
      Specified by:
      remove in interface com.mojang.serialization.DynamicOps<Unit>
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/util/dynamic/NullOps;remove(Lnet/minecraft/util/Unit;Ljava/lang/String;)Lnet/minecraft/util/Unit;
      intermediary method_59565 Lnet/minecraft/class_9637;method_59565(Lnet/minecraft/class_3902;Ljava/lang/String;)Lnet/minecraft/class_3902;
      official a Layi;a(Lazk;Ljava/lang/String;)Lazk;
    • mapBuilder

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

      public String toString()
      Overrides:
      toString in class Object