Package hiiragi283.lib.data.recipe
Class HTRecipeProvider
-
- All Implemented Interfaces:
public abstract class HTRecipeProvider extends RecipeProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHTRecipeProvider.Runnerpublic abstract classHTRecipeProvider.Directpublic abstract classHTRecipeProvider.Integration
-
Field Summary
Fields Modifier and Type Field Description private final HTIngredientCreatoringredientCreatorprivate final HTFluidIngredientCreatorfluidCreatorprivate final HTItemIngredientCreatoritemCreatorprivate final HTResultCreatorresultCreator
-
Constructor Summary
Constructors Constructor Description HTRecipeProvider(String modId, HolderLookup.Provider registries, RecipeOutput output)
-
Method Summary
Modifier and Type Method Description final HTIngredientCreatorgetIngredientCreator()final HTFluidIngredientCreatorgetFluidCreator()final HTItemIngredientCreatorgetItemCreator()final HTResultCreatorgetResultCreator()final Holder<Enchantment>getEnchantment(ResourceKey<Enchantment> key)指定したkeyからエンチャントを取得します。 final StringgetHasName(HTIdLike id)final StringgetHasName(TagKey<?> tagKey)final IngredientmaterialPart(TagKey<HTMaterialContents> tagKey, HTMaterialPartKey parts)final IngredienttoIngredient(Ior<HTMaterialItemEntry, TagKey<Item>> $self)final HTItemIngredienttoItemIngredient(Ior<HTMaterialItemEntry, TagKey<Item>> $self, Integer inputCount)-
-
Constructor Detail
-
HTRecipeProvider
HTRecipeProvider(String modId, HolderLookup.Provider registries, RecipeOutput output)
-
-
Method Detail
-
getIngredientCreator
final HTIngredientCreator getIngredientCreator()
-
getFluidCreator
final HTFluidIngredientCreator getFluidCreator()
-
getItemCreator
final HTItemIngredientCreator getItemCreator()
-
getResultCreator
final HTResultCreator getResultCreator()
-
getEnchantment
final Holder<Enchantment> getEnchantment(ResourceKey<Enchantment> key)
指定したkeyからエンチャントを取得します。
- Since:
0.12.0
-
getHasName
final String getHasName(HTIdLike id)
-
getHasName
final String getHasName(TagKey<?> tagKey)
-
materialPart
final Ingredient materialPart(TagKey<HTMaterialContents> tagKey, HTMaterialPartKey parts)
-
toIngredient
final Ingredient toIngredient(Ior<HTMaterialItemEntry, TagKey<Item>> $self)
-
toItemIngredient
final HTItemIngredient toItemIngredient(Ior<HTMaterialItemEntry, TagKey<Item>> $self, Integer inputCount)
-
-
-
-