public class StringArgumentSerializer extends java.lang.Object implements IArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
Constructor and Description |
---|
StringArgumentSerializer() |
Modifier and Type | Method and Description |
---|---|
com.mojang.brigadier.arguments.StringArgumentType |
read(PacketBuffer buffer) |
void |
write(com.mojang.brigadier.arguments.StringArgumentType p_212244_1_,
com.google.gson.JsonObject p_212244_2_) |
void |
write(com.mojang.brigadier.arguments.StringArgumentType argument,
PacketBuffer buffer) |
public void write(com.mojang.brigadier.arguments.StringArgumentType argument, PacketBuffer buffer)
write
in interface IArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
public com.mojang.brigadier.arguments.StringArgumentType read(PacketBuffer buffer)
read
in interface IArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>
public void write(com.mojang.brigadier.arguments.StringArgumentType p_212244_1_, com.google.gson.JsonObject p_212244_2_)
write
in interface IArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType>