Class RegistryPredicateArgumentType.Serializer

java.lang.Object
net.minecraft.command.argument.RegistryPredicateArgumentType.Serializer
All Implemented Interfaces:
ArgumentSerializer<RegistryPredicateArgumentType<?>>
Enclosing class:
RegistryPredicateArgumentType<T>

public static class RegistryPredicateArgumentType.Serializer extends Object implements ArgumentSerializer<RegistryPredicateArgumentType<?>>
Mappings:
Namespace Name
official el$c
intermediary net/minecraft/class_7066$class_7069
named net/minecraft/command/argument/RegistryPredicateArgumentType$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toPacket

      public void toPacket(RegistryPredicateArgumentType<?> registryPredicateArgumentType, PacketByteBuf packetByteBuf)
      Specified by:
      toPacket in interface ArgumentSerializer<RegistryPredicateArgumentType<?>>
      Mappings:
      Namespace Name Mixin selector
      official a Lel$c;a(Lel;Lpy;)V
      intermediary method_41178 Lnet/minecraft/class_7066$class_7069;method_41178(Lnet/minecraft/class_7066;Lnet/minecraft/class_2540;)V
      named toPacket Lnet/minecraft/command/argument/RegistryPredicateArgumentType$Serializer;toPacket(Lnet/minecraft/command/argument/RegistryPredicateArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
    • fromPacket

      public RegistryPredicateArgumentType<?> fromPacket(PacketByteBuf packetByteBuf)
      Specified by:
      fromPacket in interface ArgumentSerializer<RegistryPredicateArgumentType<?>>
      Mappings:
      Namespace Name Mixin selector
      official a Lel$c;a(Lpy;)Lel;
      intermediary method_41179 Lnet/minecraft/class_7066$class_7069;method_41179(Lnet/minecraft/class_2540;)Lnet/minecraft/class_7066;
      named fromPacket Lnet/minecraft/command/argument/RegistryPredicateArgumentType$Serializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/RegistryPredicateArgumentType;
    • toJson

      public void toJson(RegistryPredicateArgumentType<?> registryPredicateArgumentType, JsonObject jsonObject)
      Specified by:
      toJson in interface ArgumentSerializer<RegistryPredicateArgumentType<?>>
      Mappings:
      Namespace Name Mixin selector
      official a Lel$c;a(Lel;Lcom/google/gson/JsonObject;)V
      intermediary method_41177 Lnet/minecraft/class_7066$class_7069;method_41177(Lnet/minecraft/class_7066;Lcom/google/gson/JsonObject;)V
      named toJson Lnet/minecraft/command/argument/RegistryPredicateArgumentType$Serializer;toJson(Lnet/minecraft/command/argument/RegistryPredicateArgumentType;Lcom/google/gson/JsonObject;)V