CVanilla Recipe
Properties
Link copied to clipboard
List of CRecipePredicate that run during recipe matching. null or empty means no additional conditions.
Link copied to clipboard
List of ResultSupplier that provide items to players. null or empty means no items are produced.
Link copied to clipboard
Type of this recipe. See CRecipe.Type.
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
Returns results of suppliers made asynchronously.
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 the minimum craft count calculated from input item amounts and recipe requirements.
Link copied to clipboard
Returns this CRecipe is a valid or not.
Link copied to clipboard
Builds a MappedRelation by matching this recipe's slots against the given view in index order.
Link copied to clipboard
Maximum requires input items amount. Inclusive
Link copied to clipboard
Minimal requires input items amount