Interface StoneCutterRecipe.Builder
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,Builder<RecipeRegistration,
,StoneCutterRecipe.Builder> ResettableBuilder<RecipeRegistration,
,StoneCutterRecipe.Builder> ResourceKeyedBuilder<RecipeRegistration,
StoneCutterRecipe.Builder>
- All Known Subinterfaces:
StoneCutterRecipe.Builder.EndStep
,StoneCutterRecipe.Builder.ResultStep
- Enclosing interface:
- StoneCutterRecipe
public static interface StoneCutterRecipe.Builder
extends ResourceKeyedBuilder<RecipeRegistration,StoneCutterRecipe.Builder>
Builds a simple stonecutter recipe
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptioningredient
(Supplier<? extends ItemType> ingredient) Sets the ingredient and returns this builder.ingredient
(ItemType ingredient) Sets the ingredient and returns this builder.ingredient
(Ingredient ingredient) Sets the ingredient and returns this builder.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
build
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Method Details
-
ingredient
Sets the ingredient and returns this builder.- Parameters:
ingredient
- The ingredient- Returns:
- This builder, for chaining
-
ingredient
Sets the ingredient and returns this builder.- Parameters:
ingredient
- The ingredient- Returns:
- This builder, for chaining
-
ingredient
Sets the ingredient and returns this builder.- Parameters:
ingredient
- The ingredient- Returns:
- This builder, for chaining
-