Class HTEnchantingRecipeBuilder
-
- All Implemented Interfaces:
public final class HTEnchantingRecipeBuilder<ENCH extends Object> extends HTRecipeBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceHTEnchantingRecipeBuilder.Factory
-
Field Summary
Fields Modifier and Type Field Description private HTItemIngredientingredientprivate ENCHenchantmentprivate final HTConditionHolderconditionsprivate final HTRecipeBuilder.RecipeIdrecipeId
-
Constructor Summary
Constructors Constructor Description HTEnchantingRecipeBuilder(HTEnchantingRecipeBuilder.Factory<ENCH, ?> factory, Function1<ENCH, ResourceLocation> idFactory)
-
Method Summary
Modifier and Type Method Description final HTItemIngredientgetIngredient()final UnitsetIngredient(HTItemIngredient value)final ENCHgetEnchantment()final UnitsetEnchantment(ENCH value)final HTConditionHoldergetConditions()final HTRecipeBuilder.RecipeIdgetRecipeId()final static Unitcreate(RecipeOutput output, Function1<HTEnchantingRecipeBuilder<Holder<Enchantment>>, Unit> builderAction)-
-
Constructor Detail
-
HTEnchantingRecipeBuilder
HTEnchantingRecipeBuilder(HTEnchantingRecipeBuilder.Factory<ENCH, ?> factory, Function1<ENCH, ResourceLocation> idFactory)
-
-
Method Detail
-
getIngredient
final HTItemIngredient getIngredient()
-
setIngredient
final Unit setIngredient(HTItemIngredient value)
-
getEnchantment
final ENCH getEnchantment()
-
setEnchantment
final Unit setEnchantment(ENCH value)
-
getConditions
final HTConditionHolder getConditions()
-
getRecipeId
final HTRecipeBuilder.RecipeId getRecipeId()
-
create
final static Unit create(RecipeOutput output, Function1<HTEnchantingRecipeBuilder<Holder<Enchantment>>, Unit> builderAction)
-
-
-
-