public class DoubleArgumentSerializer extends Object implements ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
Constructor and Description |
---|
DoubleArgumentSerializer() |
Modifier and Type | Method and Description |
---|---|
com.mojang.brigadier.arguments.DoubleArgumentType |
fromPacket(PacketByteBuf packetByteBuf) |
void |
toJson(com.mojang.brigadier.arguments.DoubleArgumentType doubleArgumentType,
JsonObject jsonObject) |
void |
toPacket(com.mojang.brigadier.arguments.DoubleArgumentType doubleArgumentType,
PacketByteBuf packetByteBuf) |
public void toPacket(com.mojang.brigadier.arguments.DoubleArgumentType doubleArgumentType, PacketByteBuf packetByteBuf)
toPacket
in interface ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
public com.mojang.brigadier.arguments.DoubleArgumentType fromPacket(PacketByteBuf packetByteBuf)
fromPacket
in interface ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>
public void toJson(com.mojang.brigadier.arguments.DoubleArgumentType doubleArgumentType, JsonObject jsonObject)
toJson
in interface ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType>