Class HTSmithingRecipeProperty
-
- All Implemented Interfaces:
@JvmRecord() public final class HTSmithingRecipeProperty extends Record
素材に基づいた鍛冶型レシピを表すクラスです。
- Since:
0.9.0
Hiiragi Tsubasa
-
-
Field Summary
Fields Modifier and Type Field Description private final HTItemHolderLike<?>templateprivate final HTMaterialKeybaseprivate final BooleanallowCrafting
-
Constructor Summary
Constructors Constructor Description HTSmithingRecipeProperty(HTItemHolderLike<?> template, HTMaterialKey base, Boolean allowCrafting)
-
Method Summary
Modifier and Type Method Description final HTItemHolderLike<?>getTemplate()final HTMaterialKeygetBase()final BooleangetAllowCrafting()-
-
Constructor Detail
-
HTSmithingRecipeProperty
HTSmithingRecipeProperty(HTItemHolderLike<?> template, HTMaterialKey base, Boolean allowCrafting)
- Parameters:
template- 鍛冶型となるアイテムbase- 材料となる素材allowCrafting- クラフトレシピも追加するかどうか
-
-
Method Detail
-
getTemplate
final HTItemHolderLike<?> getTemplate()
-
getBase
final HTMaterialKey getBase()
-
getAllowCrafting
final Boolean getAllowCrafting()
-
-
-
-