Package hiiragi283.core.common.recipe
Class HCBrewingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTFluidRecipe,hiiragi283.core.api.recipe.HTRecipe,net.minecraft.world.item.crafting.Recipe
public final class HCBrewingRecipe extends HTProcessingRecipe<HTItemAndFluidRecipeInput> implements HTFluidRecipe
-
-
Field Summary
Fields Modifier and Type Field Description private final HTFluidIngredientpotionFromprivate final HTItemIngredientingredientprivate final HTFluidResultpotionToprivate final HTProcessingRecipe.SubParametersparametersprivate final Integertimeprivate final Fractionexpprivate final ItemStacktoastSymbolprivate final NonNullList<Ingredient>ingredientsprivate final BooleanisSpecialprivate final BooleanisIncompleteprivate final Stringgroupprivate final RecipeSerializer<?>serializerprivate final RecipeType<?>type
-
Constructor Summary
Constructors Constructor Description HCBrewingRecipe(HTFluidIngredient potionFrom, HTItemIngredient ingredient, HTFluidResult potionTo)
-
Method Summary
Modifier and Type Method Description final HTFluidIngredientgetPotionFrom()final HTItemIngredientgetIngredient()final HTFluidResultgetPotionTo()final HTProcessingRecipe.SubParametersgetParameters()final IntegergetTime()final FractiongetExp()FluidStackgetResultFluid(HolderLookup.Provider registries)完成品の液体を取得します。 Booleanmatches(HTItemAndFluidRecipeInput input, Level level)ItemStackgetResultItem(HolderLookup.Provider registries)RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.core.common.recipe.HCBrewingRecipe
getGroup, getIngredients, getSerializer, getToastSymbol, getType, isIncomplete, isSpecial -
Methods inherited from class hiiragi283.core.api.recipe.HTRecipe
assemble, canCraftInDimensions, getIngredients, getRemainingItems, isSpecial -
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
-
HCBrewingRecipe
HCBrewingRecipe(HTFluidIngredient potionFrom, HTItemIngredient ingredient, HTFluidResult potionTo)
-
-
Method Detail
-
getPotionFrom
final HTFluidIngredient getPotionFrom()
-
getIngredient
final HTItemIngredient getIngredient()
-
getPotionTo
final HTFluidResult getPotionTo()
-
getParameters
final HTProcessingRecipe.SubParameters getParameters()
-
getExp
final Fraction getExp()
-
getResultFluid
FluidStack getResultFluid(HolderLookup.Provider registries)
完成品の液体を取得します。
-
matches
Boolean matches(HTItemAndFluidRecipeInput input, Level level)
-
getResultItem
ItemStack getResultItem(HolderLookup.Provider registries)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-