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