Class IntArgumentSerializer
- java.lang.Object
-
- net.minecraft.command.arguments.serializers.IntArgumentSerializer
-
- All Implemented Interfaces:
IArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType>
public class IntArgumentSerializer extends java.lang.Object implements IArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType>
-
-
Constructor Summary
Constructors Constructor Description IntArgumentSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mojang.brigadier.arguments.IntegerArgumentType
deserializeFromNetwork(PacketBuffer p_197071_1_)
void
serializeToJson(com.mojang.brigadier.arguments.IntegerArgumentType p_212244_1_, com.google.gson.JsonObject p_212244_2_)
void
serializeToNetwork(com.mojang.brigadier.arguments.IntegerArgumentType p_197072_1_, PacketBuffer p_197072_2_)
-
-
-
Method Detail
-
serializeToNetwork
public void serializeToNetwork(com.mojang.brigadier.arguments.IntegerArgumentType p_197072_1_, PacketBuffer p_197072_2_)
- Specified by:
serializeToNetwork
in interfaceIArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType>
-
deserializeFromNetwork
public com.mojang.brigadier.arguments.IntegerArgumentType deserializeFromNetwork(PacketBuffer p_197071_1_)
- Specified by:
deserializeFromNetwork
in interfaceIArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType>
-
serializeToJson
public void serializeToJson(com.mojang.brigadier.arguments.IntegerArgumentType p_212244_1_, com.google.gson.JsonObject p_212244_2_)
- Specified by:
serializeToJson
in interfaceIArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType>
-
-