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