Package hiiragi283.ragium.common.recipe
Class HTAlloyingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipePredicate,hiiragi283.core.api.recipe.HTTriRecipeFactory,hiiragi283.core.api.recipe.base.HTProgressRecipe,hiiragi283.core.api.recipe.base.HTProgressRecipe.Simple,hiiragi283.core.api.recipe.base.HTRecipeFactories.TripleItem,hiiragi283.core.api.recipe.base.HTRecipePredicates.TripleInput,hiiragi283.core.api.recipe.base.HTRecipePredicates.TripleItem,hiiragi283.core.impl.recipe.HTSerializableRecipe,net.minecraft.world.item.crafting.Recipe,net.neoforged.neoforge.common.util.TriPredicate
public final class HTAlloyingRecipe implements HTRecipePredicates.TripleItem, HTRecipeFactories.TripleItem<ItemStack>, HTProgressRecipe.Simple<RecipeInput>, HTSerializableRecipe<RecipeInput>
-
-
Field Summary
Fields Modifier and Type Field Description public final static MapCodec<HTAlloyingRecipe>CODECprivate final HTItemIngredientprimaryprivate final HTItemIngredientsecondaryprivate final HTItemIngredienttertiaryprivate final HTItemResultresultprivate final HTProgressDataprogressDataprivate final ItemStacktoastSymbolprivate final NonNullList<Ingredient>ingredientsprivate final BooleanisSpecialprivate final BooleanisIncompleteprivate final Stringgroupprivate final RecipeSerializer<?>serializerprivate final RecipeType<?>type
-
Constructor Summary
Constructors Constructor Description HTAlloyingRecipe(HTItemIngredient primary, HTItemIngredient secondary, HTItemIngredient tertiary, HTItemResult result, HTProgressData progressData)HTAlloyingRecipe(List<HTItemIngredient> ingredients, HTItemResult result, HTProgressData progressData)
-
Method Summary
Modifier and Type Method Description final HTItemIngredientgetPrimary()final HTItemIngredientgetSecondary()final HTItemIngredientgetTertiary()final HTItemResultgetResult()HTProgressDatagetProgressData()Booleantest(ItemStack first, ItemStack second, ItemStack third)Triple<Integer, Integer, Integer>getRequiredAmount(ItemStack first, ItemStack second, ItemStack third)ItemStackassemble(ItemStack firstInput, ItemStack secondInput, ItemStack thirdInput)RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.ragium.common.recipe.HTAlloyingRecipe
getGroup, getIngredients, getSerializer, getToastSymbol, getType, isIncomplete, isSpecial -
Methods inherited from class hiiragi283.core.impl.recipe.HTSerializableRecipe
assemble, canCraftInDimensions, getIngredients, getRemainingItems, getResultItem, isSpecial, matches -
Methods inherited from class hiiragi283.core.api.recipe.base.HTRecipePredicates.TripleItem
matches -
Methods inherited from class net.neoforged.neoforge.common.util.TriPredicate
and, negate, or -
Methods inherited from class hiiragi283.core.api.recipe.base.HTProgressRecipe.Simple
getProgressData -
Methods inherited from class net.minecraft.world.item.crafting.Recipe
showNotification -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTAlloyingRecipe
HTAlloyingRecipe(HTItemIngredient primary, HTItemIngredient secondary, HTItemIngredient tertiary, HTItemResult result, HTProgressData progressData)
-
HTAlloyingRecipe
HTAlloyingRecipe(List<HTItemIngredient> ingredients, HTItemResult result, HTProgressData progressData)
-
-
Method Detail
-
getPrimary
final HTItemIngredient getPrimary()
-
getSecondary
final HTItemIngredient getSecondary()
-
getTertiary
final HTItemIngredient getTertiary()
-
getResult
final HTItemResult getResult()
-
getProgressData
HTProgressData getProgressData()
-
getRequiredAmount
Triple<Integer, Integer, Integer> getRequiredAmount(ItemStack first, ItemStack second, ItemStack third)
-
assemble
ItemStack assemble(ItemStack firstInput, ItemStack secondInput, ItemStack thirdInput)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-