Class FloatArgumentInfo
java.lang.Object
net.minecraft.commands.synchronization.brigadier.FloatArgumentInfo
- All Implemented Interfaces:
ArgumentTypeInfo<FloatArgumentType, FloatArgumentInfo.Template>
public class FloatArgumentInfo
extends Object
implements ArgumentTypeInfo<FloatArgumentType, FloatArgumentInfo.Template>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserializeToJson(FloatArgumentInfo.Template template, com.google.gson.JsonObject out) voidserializeToNetwork(FloatArgumentInfo.Template template, FriendlyByteBuf out) unpack(FloatArgumentType argument)
-
Constructor Details
-
FloatArgumentInfo
public FloatArgumentInfo()
-
-
Method Details
-
serializeToNetwork
- Specified by:
serializeToNetworkin interfaceArgumentTypeInfo<FloatArgumentType, FloatArgumentInfo.Template>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetworkin interfaceArgumentTypeInfo<FloatArgumentType, FloatArgumentInfo.Template>
-
serializeToJson
- Specified by:
serializeToJsonin interfaceArgumentTypeInfo<FloatArgumentType, FloatArgumentInfo.Template>
-
unpack
- Specified by:
unpackin interfaceArgumentTypeInfo<FloatArgumentType, FloatArgumentInfo.Template>
-