Class DoubleArgumentSerializer

java.lang.Object
net.minecraft.command.argument.serialize.DoubleArgumentSerializer
All Implemented Interfaces:
ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType,DoubleArgumentSerializer.Properties>

public class DoubleArgumentSerializer extends Object implements ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType,DoubleArgumentSerializer.Properties>
Mappings:
Namespace Name
official gk
intermediary net/minecraft/class_2326
named net/minecraft/command/argument/serialize/DoubleArgumentSerializer
  • Constructor Details

    • DoubleArgumentSerializer

      public DoubleArgumentSerializer()
  • Method Details

    • writePacket

      public void writePacket(DoubleArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf)
      Specified by:
      writePacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType,DoubleArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgk;a(Lgk$a;Lss;)V
      intermediary method_10041 Lnet/minecraft/class_2326;method_10041(Lnet/minecraft/class_2326$class_7220;Lnet/minecraft/class_2540;)V
      named writePacket Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer;writePacket(Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
    • fromPacket

      public DoubleArgumentSerializer.Properties fromPacket(PacketByteBuf packetByteBuf)
      Specified by:
      fromPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType,DoubleArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgk;a(Lss;)Lgk$a;
      intermediary method_10042 Lnet/minecraft/class_2326;method_10042(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2326$class_7220;
      named fromPacket Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer$Properties;
    • writeJson

      public void writeJson(DoubleArgumentSerializer.Properties properties, JsonObject jsonObject)
      Specified by:
      writeJson in interface ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType,DoubleArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgk;a(Lgk$a;Lcom/google/gson/JsonObject;)V
      intermediary method_10043 Lnet/minecraft/class_2326;method_10043(Lnet/minecraft/class_2326$class_7220;Lcom/google/gson/JsonObject;)V
      named writeJson Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer;writeJson(Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer$Properties;Lcom/google/gson/JsonObject;)V
    • getArgumentTypeProperties

      public DoubleArgumentSerializer.Properties getArgumentTypeProperties(com.mojang.brigadier.arguments.DoubleArgumentType doubleArgumentType)
      Specified by:
      getArgumentTypeProperties in interface ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType,DoubleArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgk;a(Lcom/mojang/brigadier/arguments/DoubleArgumentType;)Lgk$a;
      intermediary method_42003 Lnet/minecraft/class_2326;method_42003(Lcom/mojang/brigadier/arguments/DoubleArgumentType;)Lnet/minecraft/class_2326$class_7220;
      named getArgumentTypeProperties Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/DoubleArgumentType;)Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer$Properties;