CRecipe
interface CRecipe
This interface's implementing types can be used as recipes for CustomCrafter.
Parameters
name
Name of this recipe
items
Mapping of CMatter and those coordinates on crafting slots
results
List of ResultSupplier what provide items to players
type
Type of this recipe. See CRecipe.Type
See also
Inheritors
Types
Link copied to clipboard
Type of CRecipe
Properties
Functions
Link copied to clipboard
open fun asyncGetRecipePredicateResults(context: CRecipePredicate.Context, whenEmptyDefault: Boolean = true): CompletableFuture<Boolean>
Returns CRecipePredicate inspection result on async.
Link copied to clipboard
Link copied to clipboard
open fun getRecipePredicateResults(context: CRecipePredicate.Context, whenEmptyDefault: Boolean = true): Boolean
Returns CRecipePredicate inspection result
Link copied to clipboard
Returns results of suppliers made
Link copied to clipboard
open fun getTimes(map: Map<CoordinateComponent, ItemStack>, relation: MappedRelation, shift: Boolean, withoutMass: Boolean = true): Int
Returns min amount
Link copied to clipboard
Returns this CRecipe is a valid or not.
Link copied to clipboard
Maximum requires input items amount. Inclusive
Link copied to clipboard
Minimal requires input items amount