public static class CompoundIngredient.Serializer extends java.lang.Object implements IIngredientSerializer<CompoundIngredient>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
CompoundIngredient |
parse(com.google.gson.JsonObject json) |
CompoundIngredient |
parse(PacketBuffer buffer) |
void |
write(PacketBuffer buffer,
CompoundIngredient ingredient) |
public CompoundIngredient parse(PacketBuffer buffer)
parse
in interface IIngredientSerializer<CompoundIngredient>
public CompoundIngredient parse(com.google.gson.JsonObject json)
parse
in interface IIngredientSerializer<CompoundIngredient>
public void write(PacketBuffer buffer, CompoundIngredient ingredient)
write
in interface IIngredientSerializer<CompoundIngredient>