public static class FluidIngredient.Serializer extends java.lang.Object implements net.minecraftforge.common.crafting.IIngredientSerializer<FluidIngredient>
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.ResourceLocation |
ID |
static FluidIngredient.Serializer |
INSTANCE |
| Constructor and Description |
|---|
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
FluidIngredient |
parse(com.google.gson.JsonObject json) |
FluidIngredient |
parse(net.minecraft.network.PacketBuffer buffer) |
void |
write(net.minecraft.network.PacketBuffer buffer,
FluidIngredient ingredient) |
public static final FluidIngredient.Serializer INSTANCE
public static final net.minecraft.util.ResourceLocation ID
public FluidIngredient parse(net.minecraft.network.PacketBuffer buffer)
parse in interface net.minecraftforge.common.crafting.IIngredientSerializer<FluidIngredient>public FluidIngredient parse(com.google.gson.JsonObject json)
parse in interface net.minecraftforge.common.crafting.IIngredientSerializer<FluidIngredient>public void write(net.minecraft.network.PacketBuffer buffer,
FluidIngredient ingredient)
write in interface net.minecraftforge.common.crafting.IIngredientSerializer<FluidIngredient>