Class StringArgumentSerializer
java.lang.Object
net.minecraft.commands.synchronization.brigadier.StringArgumentSerializer
- All Implemented Interfaces:
ArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
public class StringArgumentSerializer
extends Object
implements ArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.StringArgumentType
deserializeFromNetwork
(FriendlyByteBuf p_121775_) void
serializeToJson
(com.mojang.brigadier.arguments.StringArgumentType p_121769_, com.google.gson.JsonObject p_121770_) void
serializeToNetwork
(com.mojang.brigadier.arguments.StringArgumentType p_121772_, FriendlyByteBuf p_121773_)
-
Constructor Details
-
StringArgumentSerializer
public StringArgumentSerializer()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(com.mojang.brigadier.arguments.StringArgumentType p_121772_, FriendlyByteBuf p_121773_) - Specified by:
serializeToNetwork
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
-
deserializeFromNetwork
public com.mojang.brigadier.arguments.StringArgumentType deserializeFromNetwork(FriendlyByteBuf p_121775_) - Specified by:
deserializeFromNetwork
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
-
serializeToJson
public void serializeToJson(com.mojang.brigadier.arguments.StringArgumentType p_121769_, com.google.gson.JsonObject p_121770_) - Specified by:
serializeToJson
in interfaceArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
-