public static interface SmeltingRecipe.Builder.EndStep extends SmeltingRecipe.Builder, CatalogBuilder<SmeltingRecipe,SmeltingRecipe.Builder>
SmeltingRecipe.Builder.EndStep, SmeltingRecipe.Builder.ResultStep
Modifier and Type | Method and Description |
---|---|
SmeltingRecipe |
build()
Builds the
CatalogType of type C . |
SmeltingRecipe.Builder.EndStep |
experience(double experience)
Changes the experience and returns this builder.
|
SmeltingRecipe.Builder.EndStep |
id(String id)
Sets the id of the
CatalogType (without the namespace/plugin id). |
SmeltingRecipe.Builder.EndStep |
name(String name)
Sets the name of the
CatalogType . |
SmeltingRecipe.Builder.EndStep |
name(Translation name)
Sets the name of the
CatalogType as a Translation . |
ingredient, ingredient, ingredient, ingredient
from
reset
SmeltingRecipe.Builder.EndStep experience(double experience)
experience
- The amount of experience released when this
recipe is completedSmeltingRecipe.Builder.EndStep id(String id)
CatalogBuilder
CatalogType
(without the namespace/plugin id).id
in interface CatalogBuilder<SmeltingRecipe,SmeltingRecipe.Builder>
id
- The idSmeltingRecipe.Builder.EndStep name(String name)
CatalogBuilder
CatalogType
. Defaults to CatalogBuilder.id(String)
.name
in interface CatalogBuilder<SmeltingRecipe,SmeltingRecipe.Builder>
name
- The nameSmeltingRecipe.Builder.EndStep name(Translation name)
CatalogBuilder
name
in interface CatalogBuilder<SmeltingRecipe,SmeltingRecipe.Builder>
name
- The name translationSmeltingRecipe build()
CatalogBuilder
CatalogType
of type C
.
The last PluginContainer
in the cause stack will be used to
determine which plugin was used to construct the CatalogType
.
build
in interface CatalogBuilder<SmeltingRecipe,SmeltingRecipe.Builder>