Class HTShapelessRecipeBuilder
-
- All Implemented Interfaces:
-
hiiragi283.core.api.data.recipe.builder.HTIngredientRecipeBuilder
public final class HTShapelessRecipeBuilder extends HTStackRecipeBuilder<HTShapelessRecipeBuilder> implements HTIngredientRecipeBuilder<HTShapelessRecipeBuilder>
ShapelessRecipe向けのHTStackRecipeBuilderの実装クラスです。
- Since:
0.1.0
Hiiragi Tsubasa
-
-
Constructor Summary
Constructors Constructor Description HTShapelessRecipeBuilder(ItemStack stack)
-
Method Summary
Modifier and Type Method Description HTShapelessRecipeBuilderaddIngredient(Ingredient ingredient)指定した材料を追加します。 final HTShapelessRecipeBuilderaddIngredients(HTPrefixLike prefix, HTMaterialLike key, Integer count)final HTShapelessRecipeBuilderaddIngredients(TagKey<Item> tagKey, Integer count)final HTShapelessRecipeBuilderaddIngredients(ItemLike items, Integer count)final HTShapelessRecipeBuilderaddIngredients(Ingredient ingredient, Integer count)final HTShapelessRecipeBuildersetGroup(String group)レシピのグループを指定します。 final HTShapelessRecipeBuildersetCategory(CraftingBookCategory category)レシピのカテゴリを指定します。 final static HTShapelessRecipeBuildercreate(ItemLike item, Integer count)ShapelessRecipeのビルダーを作成します。 -
Methods inherited from class hiiragi283.core.api.data.recipe.builder.HTIngredientRecipeBuilder
addIngredient, addIngredient, addIngredient, addIngredient, addIngredient, addIngredient, addIngredient -
Methods inherited from class hiiragi283.core.api.data.recipe.builder.HTRecipeBuilder
addCondition, save, save, saveModified, savePrefixed, saveSuffixed, tagCondition, tagCondition -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
addIngredient
HTShapelessRecipeBuilder addIngredient(Ingredient ingredient)
指定した材料を追加します。
-
addIngredients
final HTShapelessRecipeBuilder addIngredients(HTPrefixLike prefix, HTMaterialLike key, Integer count)
-
addIngredients
final HTShapelessRecipeBuilder addIngredients(TagKey<Item> tagKey, Integer count)
-
addIngredients
final HTShapelessRecipeBuilder addIngredients(ItemLike items, Integer count)
-
addIngredients
final HTShapelessRecipeBuilder addIngredients(Ingredient ingredient, Integer count)
-
setGroup
final HTShapelessRecipeBuilder setGroup(String group)
レシピのグループを指定します。
-
setCategory
final HTShapelessRecipeBuilder setCategory(CraftingBookCategory category)
レシピのカテゴリを指定します。
-
create
final static HTShapelessRecipeBuilder create(ItemLike item, Integer count)
ShapelessRecipeのビルダーを作成します。
-
-
-
-