Class FloatArgumentSerializer
java.lang.Object
net.minecraft.commands.synchronization.brigadier.FloatArgumentSerializer
- All Implemented Interfaces:
ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
public class FloatArgumentSerializer
extends Object
implements ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.FloatArgumentType
deserializeFromNetwork
(FriendlyByteBuf p_121724_) void
serializeToJson
(com.mojang.brigadier.arguments.FloatArgumentType p_121718_, com.google.gson.JsonObject p_121719_) void
serializeToNetwork
(com.mojang.brigadier.arguments.FloatArgumentType p_121721_, FriendlyByteBuf p_121722_)
-
Constructor Details
-
FloatArgumentSerializer
public FloatArgumentSerializer()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(com.mojang.brigadier.arguments.FloatArgumentType p_121721_, FriendlyByteBuf p_121722_) - Specified by:
serializeToNetwork
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
-
deserializeFromNetwork
public com.mojang.brigadier.arguments.FloatArgumentType deserializeFromNetwork(FriendlyByteBuf p_121724_) - Specified by:
deserializeFromNetwork
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
-
serializeToJson
public void serializeToJson(com.mojang.brigadier.arguments.FloatArgumentType p_121718_, com.google.gson.JsonObject p_121719_) - Specified by:
serializeToJson
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
-