Class FloatArgumentSerializer

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

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

    • FloatArgumentSerializer

      public FloatArgumentSerializer()
  • Method Details

    • toPacket

      public void toPacket​(com.mojang.brigadier.arguments.FloatArgumentType floatArgumentType, PacketByteBuf packetByteBuf)
      Specified by:
      toPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Lfp;a(Lcom/mojang/brigadier/arguments/FloatArgumentType;Lnw;)V
      intermediary method_10044 Lnet/minecraft/class_2327;method_10044(Lcom/mojang/brigadier/arguments/FloatArgumentType;Lnet/minecraft/class_2540;)V
      named toPacket Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer;toPacket(Lcom/mojang/brigadier/arguments/FloatArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
    • fromPacket

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

      public void toJson​(com.mojang.brigadier.arguments.FloatArgumentType floatArgumentType, JsonObject jsonObject)
      Specified by:
      toJson in interface ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
      Mappings:
      Namespace Name Mixin selector
      official a Lfp;a(Lcom/mojang/brigadier/arguments/FloatArgumentType;Lcom/google/gson/JsonObject;)V
      intermediary method_10046 Lnet/minecraft/class_2327;method_10046(Lcom/mojang/brigadier/arguments/FloatArgumentType;Lcom/google/gson/JsonObject;)V
      named toJson Lnet/minecraft/command/argument/serialize/FloatArgumentSerializer;toJson(Lcom/mojang/brigadier/arguments/FloatArgumentType;Lcom/google/gson/JsonObject;)V