Interface SpecialCraftingRecipe.Builder
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,Builder<RecipeRegistration,
,SpecialCraftingRecipe.Builder> ResettableBuilder<RecipeRegistration,
,SpecialCraftingRecipe.Builder> ResourceKeyedBuilder<RecipeRegistration,
SpecialCraftingRecipe.Builder>
- All Known Subinterfaces:
SpecialCraftingRecipe.Builder.EndStep
,SpecialCraftingRecipe.Builder.ResultStep
- Enclosing interface:
SpecialCraftingRecipe
public static interface SpecialCraftingRecipe.Builder
extends ResourceKeyedBuilder<RecipeRegistration,SpecialCraftingRecipe.Builder>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
In this Step set the result of the Recipe. -
Method Summary
Modifier and TypeMethodDescriptionmatching
(BiPredicate<RecipeInput.Crafting, ServerWorld> biPredicate) Sets the recipe matcher.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Method Details
-
matching
SpecialCraftingRecipe.Builder.ResultStep matching(BiPredicate<RecipeInput.Crafting, ServerWorld> biPredicate) Sets the recipe matcher.- Parameters:
biPredicate
- The matching predicate- Returns:
- This builder, for chaining
-