Package hiiragi283.core.impl.recipe
Class HTBasicItemToMultiItemRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipeFactory,hiiragi283.core.api.recipe.HTRecipePredicate,hiiragi283.core.api.recipe.base.HTItemToMultiItemRecipe,hiiragi283.core.api.recipe.base.HTProgressRecipe,hiiragi283.core.api.recipe.base.HTProgressRecipe.Simple,hiiragi283.core.api.recipe.base.HTRecipeFactories.SingleItemTo,hiiragi283.core.api.recipe.base.HTRecipePredicates.SingleInput,hiiragi283.core.api.recipe.base.HTRecipePredicates.SingleItem,java.util.function.Predicate
public class HTBasicItemToMultiItemRecipe implements HTItemToMultiItemRecipe, HTProgressRecipe.Simple<SingleRecipeInput>
-
-
Field Summary
Fields Modifier and Type Field Description private final HTItemIngredientingredientprivate final HTListItemResultresultsprivate final HTProgressDataprogressData
-
Constructor Summary
Constructors Constructor Description HTBasicItemToMultiItemRecipe(HTItemIngredient ingredient, HTListItemResult results, HTProgressData progressData)
-
Method Summary
Modifier and Type Method Description final HTItemIngredientgetIngredient()final HTListItemResultgetResults()HTProgressDatagetProgressData()Booleantest(ItemStack input)IntegergetRequiredAmount(ItemStack input)Iterable<ItemStack>assemble(ItemStack input)指定されたinputから完成品を作成します。 final static <T extends HTBasicItemToMultiItemRecipe> MapCodec<T>codec(Integer maxSize, HTItemToMultiItemRecipeBuilder.Factory<T> factory)-
Methods inherited from class hiiragi283.core.api.recipe.base.HTRecipePredicates.SingleItem
matches -
Methods inherited from class java.util.function.Predicate
and, negate, or -
Methods inherited from class hiiragi283.core.api.recipe.base.HTProgressRecipe
getProgressData -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTBasicItemToMultiItemRecipe
HTBasicItemToMultiItemRecipe(HTItemIngredient ingredient, HTListItemResult results, HTProgressData progressData)
-
-
Method Detail
-
getIngredient
final HTItemIngredient getIngredient()
-
getResults
final HTListItemResult getResults()
-
getProgressData
HTProgressData getProgressData()
-
getRequiredAmount
Integer getRequiredAmount(ItemStack input)
-
codec
final static <T extends HTBasicItemToMultiItemRecipe> MapCodec<T> codec(Integer maxSize, HTItemToMultiItemRecipeBuilder.Factory<T> factory)
-
-
-
-