Class HTShapedRecipeBuilder
-
- All Implemented Interfaces:
public final class HTShapedRecipeBuilder extends HTStackRecipeBuilder<HTShapedRecipeBuilder>
ShapedRecipe向けのHTStackRecipeBuilderの実装クラスです。
- Since:
0.1.0
Hiiragi Tsubasa
-
-
Constructor Summary
Constructors Constructor Description HTShapedRecipeBuilder(ItemStack stack)
-
Method Summary
Modifier and Type Method Description final HTShapedRecipeBuilderdefine(Character symbol, HTTagPrefix prefix, HTMaterialLike material)指定した文字にプレフィックスと素材を指定します。 final HTShapedRecipeBuilderdefine(Character symbol, TagKey<Item> tagKey)指定した文字にタグを指定します。 final HTShapedRecipeBuilderdefine(Character symbol, ItemLike item)指定した文字にアイテムを指定します。 final HTShapedRecipeBuilderdefine(Character symbol, Ingredient.Value values)指定した文字に材料を指定します。 final HTShapedRecipeBuilderdefine(Character symbol, Ingredient ingredient)指定した文字に材料を指定します。 final HTShapedRecipeBuilderpattern(String pattern)材料のパターンを指定します。 final HTShapedRecipeBuilderpattern(Iterable<String> patterns)材料のパターンを指定します。 final HTShapedRecipeBuilderstorage4()2x2のパターンを指定します。 final HTShapedRecipeBuilderstorage9()3x3のパターンを指定します。 final HTShapedRecipeBuilderhollow()中央が空の3x3のパターンを指定します。 final HTShapedRecipeBuilderhollow4()中央の材料を,一種類の4つの材料で取り囲むパターンを指定します。 final HTShapedRecipeBuilderhollow8()中央の材料を,一種類の8つの材料で取り囲むパターンを指定します。 final HTShapedRecipeBuildercross4()中央の材料を,二種類の2つずつの材料で取り囲むパターンを指定します。 final HTShapedRecipeBuildercross8()中央の材料を,二種類の4つずつの材料で取り囲むパターンを指定します。 final HTShapedRecipeBuildercrossLayered()final HTShapedRecipeBuildermosaic4()二種類の材料を交互に配置する2x2のパターンを指定します。 final HTShapedRecipeBuildermosaic9()二種類の材料を交互に配置する3x3のパターンを指定します。 final HTShapedRecipeBuildersetGroup()レシピのグループをgetPrimalIdから指定します。 final HTShapedRecipeBuildersetGroup(String group)レシピのグループを指定します。 final HTShapedRecipeBuildersetCategory(CraftingBookCategory category)レシピのカテゴリを指定します。 final static HTShapedRecipeBuildercreate(ItemLike item, Integer count)ShapedRecipeのビルダーを作成します。 -
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
-
define
final HTShapedRecipeBuilder define(Character symbol, HTTagPrefix prefix, HTMaterialLike material)
-
define
final HTShapedRecipeBuilder define(Character symbol, TagKey<Item> tagKey)
-
define
final HTShapedRecipeBuilder define(Character symbol, ItemLike item)
-
define
final HTShapedRecipeBuilder define(Character symbol, Ingredient.Value values)
-
define
final HTShapedRecipeBuilder define(Character symbol, Ingredient ingredient)
-
pattern
final HTShapedRecipeBuilder pattern(String pattern)
材料のパターンを指定します。
-
pattern
final HTShapedRecipeBuilder pattern(Iterable<String> patterns)
材料のパターンを指定します。
-
storage4
final HTShapedRecipeBuilder storage4()
2x2のパターンを指定します。
-
storage9
final HTShapedRecipeBuilder storage9()
3x3のパターンを指定します。
-
hollow
final HTShapedRecipeBuilder hollow()
中央が空の3x3のパターンを指定します。
-
hollow4
final HTShapedRecipeBuilder hollow4()
中央の材料を,一種類の4つの材料で取り囲むパターンを指定します。
-
hollow8
final HTShapedRecipeBuilder hollow8()
中央の材料を,一種類の8つの材料で取り囲むパターンを指定します。
-
cross4
final HTShapedRecipeBuilder cross4()
中央の材料を,二種類の2つずつの材料で取り囲むパターンを指定します。
-
cross8
final HTShapedRecipeBuilder cross8()
中央の材料を,二種類の4つずつの材料で取り囲むパターンを指定します。
-
crossLayered
final HTShapedRecipeBuilder crossLayered()
-
mosaic4
final HTShapedRecipeBuilder mosaic4()
二種類の材料を交互に配置する2x2のパターンを指定します。
-
mosaic9
final HTShapedRecipeBuilder mosaic9()
二種類の材料を交互に配置する3x3のパターンを指定します。
-
setGroup
final HTShapedRecipeBuilder setGroup()
レシピのグループをgetPrimalIdから指定します。
-
setGroup
final HTShapedRecipeBuilder setGroup(String group)
レシピのグループを指定します。
-
setCategory
final HTShapedRecipeBuilder setCategory(CraftingBookCategory category)
レシピのカテゴリを指定します。
-
create
final static HTShapedRecipeBuilder create(ItemLike item, Integer count)
ShapedRecipeのビルダーを作成します。
-
-
-
-