Package api.crafting.providers
Interface BaseSteps.FinalStep<Recipe extends IdentifiableRecipe<Recipe>>
- All Known Subinterfaces:
CraftingRecipeProvider.FinalStep
- All Known Implementing Classes:
CraftingRecipeProvider.CraftingRecipeBuilder
- Enclosing class:
- BaseSteps
public static interface BaseSteps.FinalStep<Recipe extends IdentifiableRecipe<Recipe>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Probably what you want to use.conditionally(Predicate<World> condition) A condition in where the recipe will be enabled.Whether this recipe is hidden from EMI.
-
Method Details
-
hideFromEMI
BaseSteps.FinalStep<Recipe> hideFromEMI()Whether this recipe is hidden from EMI. The recipe will still be usable. -
conditionally
A condition in where the recipe will be enabled. Usually based on currentDifficulty. -
build
Recipe build() -
buildAndRegister
Recipe buildAndRegister()Probably what you want to use.
-