Class FloatArgumentSerializer
- java.lang.Object
-
- net.minecraft.command.arguments.serializers.FloatArgumentSerializer
-
- All Implemented Interfaces:
IArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
public class FloatArgumentSerializer extends java.lang.Object implements IArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
-
-
Constructor Summary
Constructors Constructor Description FloatArgumentSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mojang.brigadier.arguments.FloatArgumentType
deserializeFromNetwork(PacketBuffer p_197071_1_)
void
serializeToJson(com.mojang.brigadier.arguments.FloatArgumentType p_212244_1_, com.google.gson.JsonObject p_212244_2_)
void
serializeToNetwork(com.mojang.brigadier.arguments.FloatArgumentType p_197072_1_, PacketBuffer p_197072_2_)
-
-
-
Method Detail
-
serializeToNetwork
public void serializeToNetwork(com.mojang.brigadier.arguments.FloatArgumentType p_197072_1_, PacketBuffer p_197072_2_)
- Specified by:
serializeToNetwork
in interfaceIArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
-
deserializeFromNetwork
public com.mojang.brigadier.arguments.FloatArgumentType deserializeFromNetwork(PacketBuffer p_197071_1_)
- Specified by:
deserializeFromNetwork
in interfaceIArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
-
serializeToJson
public void serializeToJson(com.mojang.brigadier.arguments.FloatArgumentType p_212244_1_, com.google.gson.JsonObject p_212244_2_)
- Specified by:
serializeToJson
in interfaceIArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
-
-