Package hiiragi283.ragium.common.recipe
Class HTFluidMixingRecipe
-
- 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
@JvmRecord() public final class HTFluidMixingRecipe extends Record implements HTMixingRecipe.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private final Optional<HTItemIngredient>itemIngredientprivate final List<HTFluidIngredient>fluidIngredientsprivate final List<HTFluidResult>resultsprivate 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 HTFluidMixingRecipe(Optional<HTItemIngredient> itemIngredient, List<HTFluidIngredient> fluidIngredients, List<HTFluidResult> results, Integer time)
-
Method Summary
Modifier and Type Method Description final Optional<HTItemIngredient>getItemIngredient()final List<HTFluidIngredient>getFluidIngredients()final List<HTFluidResult>getResults()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.HTFluidMixingRecipe
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
-
getItemIngredient
final Optional<HTItemIngredient> getItemIngredient()
-
getFluidIngredients
final List<HTFluidIngredient> getFluidIngredients()
-
getResults
final List<HTFluidResult> getResults()
-
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()
-
-
-
-