public static class EntityArgumentType.Serializer extends Object implements ArgumentSerializer<EntityArgumentType>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
EntityArgumentType |
fromPacket(PacketByteBuf packetByteBuf) |
void |
toJson(EntityArgumentType entityArgumentType,
JsonObject jsonObject) |
void |
toPacket(EntityArgumentType entityArgumentType,
PacketByteBuf packetByteBuf) |
public void toPacket(EntityArgumentType entityArgumentType, PacketByteBuf packetByteBuf)
toPacket
in interface ArgumentSerializer<EntityArgumentType>
public EntityArgumentType fromPacket(PacketByteBuf packetByteBuf)
fromPacket
in interface ArgumentSerializer<EntityArgumentType>
public void toJson(EntityArgumentType entityArgumentType, JsonObject jsonObject)
toJson
in interface ArgumentSerializer<EntityArgumentType>