Package hiiragi283.ragium.common.recipe
Class HTWashingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipeFactory,hiiragi283.core.api.recipe.HTRecipePredicate,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.DoubleInput,hiiragi283.core.api.recipe.base.HTRecipePredicates.ItemAndFluid,hiiragi283.core.impl.recipe.HTSerializableRecipe,java.util.function.BiPredicate,net.minecraft.world.item.crafting.Recipe
public final class HTWashingRecipe implements HTRecipePredicates.ItemAndFluid, HTRecipeFactories.SingleItemTo<Iterable<ItemStack>>, HTProgressRecipe.Simple<HTItemAndFluidRecipeInput>, HTSerializableRecipe<HTItemAndFluidRecipeInput>
-
-
Field Summary
Fields Modifier and Type Field Description public final static MapCodec<HTWashingRecipe>CODECpublic final static HTFluidIngredientWATER_INGREDIENTprivate final HTItemIngredientingredientprivate final HTListItemResultresultsprivate 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 HTWashingRecipe(HTItemIngredient ingredient, HTListItemResult results, HTProgressData progressData)
-
Method Summary
Modifier and Type Method Description final HTItemIngredientgetIngredient()final HTListItemResultgetResults()HTProgressDatagetProgressData()Booleantest(ItemStack first, FluidStack second)Pair<Integer, Integer>getRequiredAmount(ItemStack first, FluidStack second)Iterable<ItemStack>assemble(ItemStack input)RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.ragium.common.recipe.HTWashingRecipe
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.ItemAndFluid
matches -
Methods inherited from class java.util.function.BiPredicate
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
-
-
Method Detail
-
getIngredient
final HTItemIngredient getIngredient()
-
getResults
final HTListItemResult getResults()
-
getProgressData
HTProgressData getProgressData()
-
getRequiredAmount
Pair<Integer, Integer> getRequiredAmount(ItemStack first, FluidStack second)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-