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