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 fz
intermediary net/minecraft/class_2327
named net/minecraft/command/argument/serialize/FloatArgumentSerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.FloatArgumentType
fromPacket
(PacketByteBuf packetByteBuf) void
toJson
(com.mojang.brigadier.arguments.FloatArgumentType floatArgumentType, JsonObject jsonObject) void
toPacket
(com.mojang.brigadier.arguments.FloatArgumentType floatArgumentType, PacketByteBuf packetByteBuf)
-
Constructor Details
-
FloatArgumentSerializer
public FloatArgumentSerializer()
-
-
Method Details
-
toPacket
public void toPacket(com.mojang.brigadier.arguments.FloatArgumentType floatArgumentType, PacketByteBuf packetByteBuf) - Specified by:
toPacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
- Mappings:
Namespace Name Mixin selector official a
Lfz;a(Lcom/mojang/brigadier/arguments/FloatArgumentType;Lpn;)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
- Specified by:
fromPacket
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
- Mappings:
Namespace Name Mixin selector official a
Lfz;a(Lpn;)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 interfaceArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
- Mappings:
Namespace Name Mixin selector official a
Lfz;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
-