Class LongArgumentSerializer
java.lang.Object
net.minecraft.command.arguments.serializers.LongArgumentSerializer
- All Implemented Interfaces:
IArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
public class LongArgumentSerializer
extends Object
implements IArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.LongArgumentType
deserializeFromNetwork
(PacketBuffer p_197071_1_) void
serializeToJson
(com.mojang.brigadier.arguments.LongArgumentType p_212244_1_, com.google.gson.JsonObject p_212244_2_) void
serializeToNetwork
(com.mojang.brigadier.arguments.LongArgumentType p_197072_1_, PacketBuffer p_197072_2_)
-
Constructor Details
-
LongArgumentSerializer
public LongArgumentSerializer()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(com.mojang.brigadier.arguments.LongArgumentType p_197072_1_, PacketBuffer p_197072_2_) - Specified by:
serializeToNetwork
in interfaceIArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
-
deserializeFromNetwork
public com.mojang.brigadier.arguments.LongArgumentType deserializeFromNetwork(PacketBuffer p_197071_1_) - Specified by:
deserializeFromNetwork
in interfaceIArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
-
serializeToJson
public void serializeToJson(com.mojang.brigadier.arguments.LongArgumentType p_212244_1_, com.google.gson.JsonObject p_212244_2_) - Specified by:
serializeToJson
in interfaceIArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
-