public static class CompoundIngredient.Serializer extends java.lang.Object implements IIngredientSerializer<CompoundIngredient>
Modifier and Type | Field and Description |
---|---|
static CompoundIngredient.Serializer |
INSTANCE |
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 static final CompoundIngredient.Serializer INSTANCE
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>