Interface IIngredientSerializer<T extends Ingredient>

All Known Implementing Classes:
CompoundIngredient.Serializer, NBTIngredient.Serializer, VanillaIngredientSerializer

public interface IIngredientSerializer<T extends Ingredient>
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(com.google.gson.JsonObject json)
     
     
    void
    write(PacketBuffer buffer, T ingredient)
     
  • Method Details

    • parse

      T parse(PacketBuffer buffer)
    • parse

      T parse(com.google.gson.JsonObject json)
    • write

      void write(PacketBuffer buffer, T ingredient)