Class IntegerArgumentInfo
java.lang.Object
net.minecraft.commands.synchronization.brigadier.IntegerArgumentInfo
- All Implemented Interfaces:
ArgumentTypeInfo<com.mojang.brigadier.arguments.IntegerArgumentType,
IntegerArgumentInfo.Template>
public class IntegerArgumentInfo
extends Object
implements ArgumentTypeInfo<com.mojang.brigadier.arguments.IntegerArgumentType,IntegerArgumentInfo.Template>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_235554_) void
serializeToJson
(IntegerArgumentInfo.Template p_235548_, com.google.gson.JsonObject p_235549_) void
serializeToNetwork
(IntegerArgumentInfo.Template p_235551_, FriendlyByteBuf p_235552_) unpack
(com.mojang.brigadier.arguments.IntegerArgumentType p_235540_)
-
Constructor Details
-
IntegerArgumentInfo
public IntegerArgumentInfo()
-
-
Method Details
-
serializeToNetwork
- Specified by:
serializeToNetwork
in interfaceArgumentTypeInfo<com.mojang.brigadier.arguments.IntegerArgumentType,
IntegerArgumentInfo.Template>
-
deserializeFromNetwork
- Specified by:
deserializeFromNetwork
in interfaceArgumentTypeInfo<com.mojang.brigadier.arguments.IntegerArgumentType,
IntegerArgumentInfo.Template>
-
serializeToJson
public void serializeToJson(IntegerArgumentInfo.Template p_235548_, com.google.gson.JsonObject p_235549_) - Specified by:
serializeToJson
in interfaceArgumentTypeInfo<com.mojang.brigadier.arguments.IntegerArgumentType,
IntegerArgumentInfo.Template>
-
unpack
public IntegerArgumentInfo.Template unpack(com.mojang.brigadier.arguments.IntegerArgumentType p_235540_) - Specified by:
unpack
in interfaceArgumentTypeInfo<com.mojang.brigadier.arguments.IntegerArgumentType,
IntegerArgumentInfo.Template>
-