Class DoubleArgumentSerializer

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

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

    • DoubleArgumentSerializer

      public DoubleArgumentSerializer()
  • Method Details

    • toPacket

      public void toPacket​(com.mojang.brigadier.arguments.DoubleArgumentType doubleArgumentType, PacketByteBuf packetByteBuf)
      Specified by:
      toPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Lfo;a(Lcom/mojang/brigadier/arguments/DoubleArgumentType;Lnw;)V
      intermediary method_10041 Lnet/minecraft/class_2326;method_10041(Lcom/mojang/brigadier/arguments/DoubleArgumentType;Lnet/minecraft/class_2540;)V
      named toPacket Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer;toPacket(Lcom/mojang/brigadier/arguments/DoubleArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
    • fromPacket

      public com.mojang.brigadier.arguments.DoubleArgumentType fromPacket​(PacketByteBuf packetByteBuf)
      Specified by:
      fromPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Lfo;a(Lnw;)Lcom/mojang/brigadier/arguments/DoubleArgumentType;
      intermediary method_10042 Lnet/minecraft/class_2326;method_10042(Lnet/minecraft/class_2540;)Lcom/mojang/brigadier/arguments/DoubleArgumentType;
      named fromPacket Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lcom/mojang/brigadier/arguments/DoubleArgumentType;
    • toJson

      public void toJson​(com.mojang.brigadier.arguments.DoubleArgumentType doubleArgumentType, JsonObject jsonObject)
      Specified by:
      toJson in interface ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Lfo;a(Lcom/mojang/brigadier/arguments/DoubleArgumentType;Lcom/google/gson/JsonObject;)V
      intermediary method_10043 Lnet/minecraft/class_2326;method_10043(Lcom/mojang/brigadier/arguments/DoubleArgumentType;Lcom/google/gson/JsonObject;)V
      named toJson Lnet/minecraft/command/argument/serialize/DoubleArgumentSerializer;toJson(Lcom/mojang/brigadier/arguments/DoubleArgumentType;Lcom/google/gson/JsonObject;)V