Package hiiragi283.ragium.common.recipe
Class HTItemMixingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,hiiragi283.core.api.recipe.base.HTMultiOutputRecipe,hiiragi283.core.api.recipe.base.HTMultiOutputRecipe.Serializable,hiiragi283.core.api.recipe.base.HTProcessingRecipe,hiiragi283.core.api.recipe.base.HTProcessingRecipe.Serializable,hiiragi283.core.api.recipe.base.HTSerializableRecipe,hiiragi283.ragium.api.recipe.base.HTMixingRecipe,hiiragi283.ragium.api.recipe.base.HTMixingRecipe.Serializable,java.util.function.Predicate,net.minecraft.world.item.crafting.Recipe
public final class HTItemMixingRecipe implements HTMixingRecipe.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private final List<HTItemIngredient>itemIngredientsprivate final HTFluidIngredientfluidIngredientprivate final Ior<HTItemResult, HTFluidResult>resultprivate final Integertimeprivate final ItemStacktoastSymbolprivate final NonNullList<Ingredient>ingredientsprivate final BooleanisSpecialprivate final BooleanisIncompleteprivate final Stringgroupprivate final RecipeSerializer<?>serializerprivate final RecipeType<?>type
-
Constructor Summary
Constructors Constructor Description HTItemMixingRecipe(List<HTItemIngredient> itemIngredients, HTFluidIngredient fluidIngredient, Ior<HTItemResult, HTFluidResult> result, Integer time)
-
Method Summary
Modifier and Type Method Description final List<HTItemIngredient>getItemIngredients()final HTFluidIngredientgetFluidIngredient()final Ior<HTItemResult, HTFluidResult>getResult()IntegergetTime()List<FluidStack>assembleFluids(HTMixingRecipeInput input)List<ItemStack>assembleItems(HTMixingRecipeInput input, Boolean preview)HTMixingRecipe.RequiredAmountsgetRequiredAmounts(HTMixingRecipeInput input)Booleantest(HTMixingRecipeInput input)RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.ragium.api.recipe.base.HTMixingRecipe.Serializable
getGroup, getIngredients, getToastSymbol, isIncomplete, isSpecial -
Methods inherited from class hiiragi283.ragium.common.recipe.HTItemMixingRecipe
getSerializer, getType -
Methods inherited from class hiiragi283.core.api.recipe.base.HTMultiOutputRecipe
assemble -
Methods inherited from class hiiragi283.core.api.recipe.base.HTSerializableRecipe
assemble, canCraftInDimensions, getIngredients, getRemainingItems, getResultItem, isSpecial, matches -
Methods inherited from class java.util.function.Predicate
and, negate, or -
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
-
-
Method Detail
-
getItemIngredients
final List<HTItemIngredient> getItemIngredients()
-
getFluidIngredient
final HTFluidIngredient getFluidIngredient()
-
getResult
final Ior<HTItemResult, HTFluidResult> getResult()
-
assembleFluids
List<FluidStack> assembleFluids(HTMixingRecipeInput input)
-
assembleItems
List<ItemStack> assembleItems(HTMixingRecipeInput input, Boolean preview)
-
getRequiredAmounts
HTMixingRecipe.RequiredAmounts getRequiredAmounts(HTMixingRecipeInput input)
-
test
Boolean test(HTMixingRecipeInput input)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-