Class EntityArgumentType.Serializer

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

public static class EntityArgumentType.Serializer extends Object implements ArgumentSerializer<EntityArgumentType>
Mappings:
Namespace Name
official dv$a
intermediary net/minecraft/class_2186$class_2187
named net/minecraft/command/argument/EntityArgumentType$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toPacket

      public void toPacket(EntityArgumentType entityArgumentType, PacketByteBuf packetByteBuf)
      Specified by:
      toPacket in interface ArgumentSerializer<EntityArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Ldv$a;a(Ldv;Log;)V
      intermediary method_9320 Lnet/minecraft/class_2186$class_2187;method_9320(Lnet/minecraft/class_2186;Lnet/minecraft/class_2540;)V
      named toPacket Lnet/minecraft/command/argument/EntityArgumentType$Serializer;toPacket(Lnet/minecraft/command/argument/EntityArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
    • fromPacket

      public EntityArgumentType fromPacket(PacketByteBuf packetByteBuf)
      Specified by:
      fromPacket in interface ArgumentSerializer<EntityArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Ldv$a;a(Log;)Ldv;
      intermediary method_9321 Lnet/minecraft/class_2186$class_2187;method_9321(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2186;
      named fromPacket Lnet/minecraft/command/argument/EntityArgumentType$Serializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/EntityArgumentType;
    • toJson

      public void toJson(EntityArgumentType entityArgumentType, JsonObject jsonObject)
      Specified by:
      toJson in interface ArgumentSerializer<EntityArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Ldv$a;a(Ldv;Lcom/google/gson/JsonObject;)V
      intermediary method_9319 Lnet/minecraft/class_2186$class_2187;method_9319(Lnet/minecraft/class_2186;Lcom/google/gson/JsonObject;)V
      named toJson Lnet/minecraft/command/argument/EntityArgumentType$Serializer;toJson(Lnet/minecraft/command/argument/EntityArgumentType;Lcom/google/gson/JsonObject;)V