Interface SmithingRecipe.Builder
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>,Builder<RecipeRegistration,,SmithingRecipe.Builder> ResettableBuilder<RecipeRegistration,,SmithingRecipe.Builder> ResourceKeyedBuilder<RecipeRegistration,SmithingRecipe.Builder>
- All Known Subinterfaces:
SmithingRecipe.Builder.AdditionStep,SmithingRecipe.Builder.BaseStep,SmithingRecipe.Builder.EndStep,SmithingRecipe.Builder.ResultStep
- Enclosing interface:
SmithingRecipe
public static interface SmithingRecipe.Builder
extends ResourceKeyedBuilder<RecipeRegistration,SmithingRecipe.Builder>
Builds a simple smithing recipe
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptiondefault SmithingRecipe.Builder.BaseStepSets the template ingredient and returns this builder.Sets the template ingredient and returns this builder.template(Ingredient ingredient) Sets the template ingredient and returns this builder.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
buildMethods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Method Details
-
template
Sets the template ingredient and returns this builder.- Parameters:
ingredient- The ingredient- Returns:
- This builder, for chaining
-
template
Sets the template ingredient and returns this builder.- Parameters:
ingredient- The ingredient- Returns:
- This builder, for chaining
-
template
Sets the template ingredient and returns this builder.- Parameters:
ingredient- The ingredient- Returns:
- This builder, for chaining
-