Package hiiragi283.ragium.common.recipe
Class HTMixingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,hiiragi283.core.api.recipe.base.HTFluidRecipe,hiiragi283.core.api.recipe.base.HTProcessingRecipe,hiiragi283.core.api.recipe.base.HTProcessingRecipe.Serializable,hiiragi283.core.api.recipe.base.HTSerializableRecipe,java.util.function.Predicate,net.minecraft.world.item.crafting.Recipe
public final class HTMixingRecipe implements HTProcessingRecipe.Serializable<HTChemicalRecipeInput>, HTFluidRecipe<HTChemicalRecipeInput>
-
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerMAX_FLUID_INPUTprivate final Ior<HTItemIngredient, List<HTFluidIngredient>>ingredientprivate 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 HTMixingRecipe(Ior<HTItemIngredient, List<HTFluidIngredient>> ingredient, Ior<HTItemResult, HTFluidResult> result, Integer time)
-
Method Summary
Modifier and Type Method Description final Ior<HTItemIngredient, List<HTFluidIngredient>>getIngredient()final Ior<HTItemResult, HTFluidResult>getResult()IntegergetTime()Booleantest(HTChemicalRecipeInput input)ItemStackassemble(HTChemicalRecipeInput input, HolderLookup.Provider registries)RecipeSerializer<?>getSerializer()RecipeType<?>getType()FluidStackassembleFluid(HTChemicalRecipeInput input, HolderLookup.Provider registries)-
Methods inherited from class hiiragi283.ragium.common.recipe.HTMixingRecipe
getGroup, getIngredients, getSerializer, getToastSymbol, getType, isIncomplete, isSpecial -
Methods inherited from class java.util.function.Predicate
and, negate, or -
Methods inherited from class hiiragi283.core.api.recipe.base.HTSerializableRecipe
canCraftInDimensions, getIngredients, getRemainingItems, getResultItem, isSpecial, matches -
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
-
getIngredient
final Ior<HTItemIngredient, List<HTFluidIngredient>> getIngredient()
-
getResult
final Ior<HTItemResult, HTFluidResult> getResult()
-
test
Boolean test(HTChemicalRecipeInput input)
-
assemble
ItemStack assemble(HTChemicalRecipeInput input, HolderLookup.Provider registries)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
assembleFluid
FluidStack assembleFluid(HTChemicalRecipeInput input, HolderLookup.Provider registries)
-
-
-
-