Class LongArgumentSerializer
java.lang.Object
net.minecraft.commands.synchronization.brigadier.LongArgumentSerializer
- All Implemented Interfaces:
ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
public class LongArgumentSerializer
extends Object
implements ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.LongArgumentType
deserializeFromNetwork
(FriendlyByteBuf p_121758_) void
serializeToJson
(com.mojang.brigadier.arguments.LongArgumentType p_121752_, com.google.gson.JsonObject p_121753_) void
serializeToNetwork
(com.mojang.brigadier.arguments.LongArgumentType p_121755_, FriendlyByteBuf p_121756_)
-
Constructor Details
-
LongArgumentSerializer
public LongArgumentSerializer()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(com.mojang.brigadier.arguments.LongArgumentType p_121755_, FriendlyByteBuf p_121756_) - Specified by:
serializeToNetwork
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
-
deserializeFromNetwork
public com.mojang.brigadier.arguments.LongArgumentType deserializeFromNetwork(FriendlyByteBuf p_121758_) - Specified by:
deserializeFromNetwork
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
-
serializeToJson
public void serializeToJson(com.mojang.brigadier.arguments.LongArgumentType p_121752_, com.google.gson.JsonObject p_121753_) - Specified by:
serializeToJson
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType>
-