Class DoubleArgumentSerializer
java.lang.Object
net.minecraft.commands.synchronization.brigadier.DoubleArgumentSerializer
- All Implemented Interfaces:
ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
public class DoubleArgumentSerializer
extends Object
implements ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.DoubleArgumentType
deserializeFromNetwork(FriendlyByteBuf p_121707_)
void
serializeToJson(com.mojang.brigadier.arguments.DoubleArgumentType p_121701_, com.google.gson.JsonObject p_121702_)
void
serializeToNetwork(com.mojang.brigadier.arguments.DoubleArgumentType p_121704_, FriendlyByteBuf p_121705_)
-
Constructor Details
-
DoubleArgumentSerializer
public DoubleArgumentSerializer()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(com.mojang.brigadier.arguments.DoubleArgumentType p_121704_, FriendlyByteBuf p_121705_)- Specified by:
serializeToNetwork
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
-
deserializeFromNetwork
public com.mojang.brigadier.arguments.DoubleArgumentType deserializeFromNetwork(FriendlyByteBuf p_121707_)- Specified by:
deserializeFromNetwork
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
-
serializeToJson
public void serializeToJson(com.mojang.brigadier.arguments.DoubleArgumentType p_121701_, com.google.gson.JsonObject p_121702_)- Specified by:
serializeToJson
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
-