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
named net/minecraft/command/argument/serialize/FloatArgumentSerializer
intermediary net/minecraft/class_2327
official ir
  • 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
      named writePacket Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer;writePacket(Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer$Properties;Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_10044 Lnet/minecraft/class_2327;method_10044(Lnet/minecraft/class_2327$class_7221;Lnet/minecraft/class_2540;)V
      official a Lir;a(Lir$a;Lvr;)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
      named fromPacket Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer$Properties;
      intermediary method_10045 Lnet/minecraft/class_2327;method_10045(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2327$class_7221;
      official a Lir;a(Lvr;)Lir$a;
    • 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
      named writeJson Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer;writeJson(Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer$Properties;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
      official a Lir;a(Lir$a;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
      named getArgumentTypeProperties Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/FloatArgumentType;)Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer$Properties;
      intermediary method_42005 Lnet/minecraft/class_2327;method_42005(Lcom/mojang/brigadier/arguments/FloatArgumentType;)Lnet/minecraft/class_2327$class_7221;
      official a Lir;a(Lcom/mojang/brigadier/arguments/FloatArgumentType;)Lir$a;