public interface ICriterion
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    deserialize(PlayerCompendiumRecipe recipe, com.google.gson.JsonObject params)
    This provides the raw JSON parameters for deserialization
     
    default void
     
  • Method Details

    • getName

      ResourceName getName()
    • deserialize

      boolean deserialize(PlayerCompendiumRecipe recipe, com.google.gson.JsonObject params)
      This provides the raw JSON parameters for deserialization
      Parameters:
      recipe - The recipe for the criteria
      params - The parameters for this criteria
      Returns:
      True if the criteria was successfully deserialized
    • register

      default void register()