Class FloatArgumentSerializer

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

public class FloatArgumentSerializer extends Object implements ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType,FloatArgumentSerializer.Properties>
Mappings:
Namespace Name
official gl
intermediary net/minecraft/class_2327
named net/minecraft/command/argument/serialize/FloatArgumentSerializer
  • Constructor Details

    • FloatArgumentSerializer

      public FloatArgumentSerializer()
  • Method Details

    • writePacket

      public void writePacket(FloatArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf)
      Specified by:
      writePacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType,FloatArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgl;a(Lgl$a;Lss;)V
      intermediary method_10044 Lnet/minecraft/class_2327;method_10044(Lnet/minecraft/class_2327$class_7221;Lnet/minecraft/class_2540;)V
      named writePacket Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer;writePacket(Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
    • fromPacket

      public FloatArgumentSerializer.Properties fromPacket(PacketByteBuf packetByteBuf)
      Specified by:
      fromPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType,FloatArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgl;a(Lss;)Lgl$a;
      intermediary method_10045 Lnet/minecraft/class_2327;method_10045(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2327$class_7221;
      named fromPacket Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer$Properties;
    • writeJson

      public void writeJson(FloatArgumentSerializer.Properties properties, JsonObject jsonObject)
      Specified by:
      writeJson in interface ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType,FloatArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgl;a(Lgl$a;Lcom/google/gson/JsonObject;)V
      intermediary method_10046 Lnet/minecraft/class_2327;method_10046(Lnet/minecraft/class_2327$class_7221;Lcom/google/gson/JsonObject;)V
      named writeJson Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer;writeJson(Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer$Properties;Lcom/google/gson/JsonObject;)V
    • getArgumentTypeProperties

      public FloatArgumentSerializer.Properties getArgumentTypeProperties(com.mojang.brigadier.arguments.FloatArgumentType floatArgumentType)
      Specified by:
      getArgumentTypeProperties in interface ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType,FloatArgumentSerializer.Properties>
      Mappings:
      Namespace Name Mixin selector
      official a Lgl;a(Lcom/mojang/brigadier/arguments/FloatArgumentType;)Lgl$a;
      intermediary method_42005 Lnet/minecraft/class_2327;method_42005(Lcom/mojang/brigadier/arguments/FloatArgumentType;)Lnet/minecraft/class_2327$class_7221;
      named getArgumentTypeProperties Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/FloatArgumentType;)Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer$Properties;