public static interface ShapedCraftingRecipe.Builder.EndStep extends ShapedCraftingRecipe.Builder, CatalogBuilder<ShapedCraftingRecipe,ShapedCraftingRecipe.Builder>
ShapedCraftingRecipe.Builder.AisleStep, ShapedCraftingRecipe.Builder.EndStep, ShapedCraftingRecipe.Builder.ResultStep, ShapedCraftingRecipe.Builder.RowsStep
Modifier and Type | Method and Description |
---|---|
default ShapedCraftingRecipe |
build(String id,
Object plugin)
Deprecated.
Use
CatalogBuilder.build() instead in combination with id(String) |
ShapedCraftingRecipe.Builder.EndStep |
group(String name)
Sets the group of the recipe.
|
ShapedCraftingRecipe.Builder.EndStep |
id(String id)
Sets the id of the
CatalogType (without the namespace/plugin id). |
ShapedCraftingRecipe.Builder.EndStep |
name(String name)
Sets the name of the
CatalogType . |
ShapedCraftingRecipe.Builder.EndStep |
name(Translation name)
Sets the name of the
CatalogType as a Translation . |
aisle, rows
build, from
reset
ShapedCraftingRecipe.Builder.EndStep group(@Nullable String name)
name
- the groupShapedCraftingRecipe.Builder.EndStep id(String id)
CatalogBuilder
CatalogType
(without the namespace/plugin id).id
in interface CatalogBuilder<ShapedCraftingRecipe,ShapedCraftingRecipe.Builder>
id
- The idShapedCraftingRecipe.Builder.EndStep name(String name)
CatalogBuilder
CatalogType
. Defaults to CatalogBuilder.id(String)
.name
in interface CatalogBuilder<ShapedCraftingRecipe,ShapedCraftingRecipe.Builder>
name
- The nameShapedCraftingRecipe.Builder.EndStep name(Translation name)
CatalogBuilder
name
in interface CatalogBuilder<ShapedCraftingRecipe,ShapedCraftingRecipe.Builder>
name
- The name translation@Deprecated default ShapedCraftingRecipe build(String id, Object plugin)
CatalogBuilder.build()
instead in combination with id(String)
ShapedCraftingRecipe
from this builder.id
- The id of this recipe.plugin
- The owning plugin.ShapedCraftingRecipe
IllegalStateException
- If not all required options
were specified