Package-level declarations
CRecipe and implementations
Types
Link copied to clipboard
class AdjacentRecipe @JvmOverloads constructor(val name: String, matters: List<CMatter>, val relationType: AdjacentRecipe.RelationType = RelationType.BOTH, customPredicates: List<CRecipePredicate>? = null, val results: List<ResultSupplier>? = null) : CRecipe
A semi-shaped recipe that sits between fully shaped and fully shapeless recipes.
Link copied to clipboard
A coordinate in Crafting slots.
Link copied to clipboard
open class CRecipeImpl @JvmOverloads constructor(val name: String, val items: Map<CoordinateComponent, CMatter>, val type: CRecipe.Type, val predicates: List<CRecipePredicate>? = null, val results: List<ResultSupplier>? = null) : CRecipe
A default CRecipe implementation class.
Link copied to clipboard
This interface is a SAM (Single Abstract Method Interface) and only has the function (CRecipePredicate.test) that is executed during recipe determination.
Link copied to clipboard
object CRecipePredicates
Combinator functions for composing CRecipePredicate instances.
Link copied to clipboard
Link copied to clipboard
open class GroupRecipe @JvmOverloads constructor(val name: String, val items: Map<CoordinateComponent, CMatter>, val groups: Set<GroupRecipe.Context>, predicates: List<CRecipePredicate>? = null, val results: List<ResultSupplier>? = null) : CRecipe, UnPartialSearchableRecipe
Implementation of CRecipe.
Link copied to clipboard
class MatchGroup
A group of recipe slots (identified by their CoordinateComponent keys in CRecipe.items) that is satisfied as a whole rather than slot-by-slot.
Link copied to clipboard
open class ShapelessGroupRecipe @JvmOverloads constructor(val name: String, val items: Map<CoordinateComponent, CMatter>, val groups: Set<MatchGroup>, val predicates: List<CRecipePredicate>? = null, val results: List<ResultSupplier>? = null) : CRecipe, UnPartialSearchableRecipe
Implementation of CRecipe.
Link copied to clipboard
interface UnPartialSearchableRecipe
This marker interface indicates that the class is not intended for the partial search feature.