public class FloatArgumentSerializer extends Object implements ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>
| Constructor and Description |
|---|
FloatArgumentSerializer() |
| Modifier and Type | Method and Description |
|---|---|
com.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) |
public void toPacket(com.mojang.brigadier.arguments.FloatArgumentType floatArgumentType,
PacketByteBuf packetByteBuf)
toPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>public com.mojang.brigadier.arguments.FloatArgumentType fromPacket(PacketByteBuf packetByteBuf)
fromPacket in interface ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>public void toJson(com.mojang.brigadier.arguments.FloatArgumentType floatArgumentType,
JsonObject jsonObject)
toJson in interface ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType>