Package hiiragi283.core.common.recipe
Class HCTankFillingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTTankFillingRecipe,hiiragi283.lib.recipe.HTBiRecipeFactory,hiiragi283.lib.recipe.HTRecipePredicate,hiiragi283.lib.recipe.HTSerializableRecipe,hiiragi283.lib.recipe.base.HTRecipeFactories.ItemAndFluid,hiiragi283.lib.recipe.base.HTRecipePredicates.DoubleInput,hiiragi283.lib.recipe.base.HTRecipePredicates.ItemAndFluid,java.util.function.BiPredicate,net.minecraft.world.item.crafting.Recipe
public final class HCTankFillingRecipe implements HTTankFillingRecipe, HTSerializableRecipe<HTItemAndFluidRecipeInput>
-
-
Field Summary
Fields Modifier and Type Field Description public final static MapCodec<HCTankFillingRecipe>CODECprivate final IngredientitemIngredientprivate final HTFluidIngredientfluidIngredientprivate final HTItemResultresultprivate final BooleanisSpecialprivate final RecipeSerializer<HCTankFillingRecipe>serializerprivate final RecipeType<HCTankFillingRecipe>type
-
Constructor Summary
Constructors Constructor Description HCTankFillingRecipe(Ingredient itemIngredient, HTFluidIngredient fluidIngredient, HTItemResult result)
-
Method Summary
Modifier and Type Method Description final IngredientgetItemIngredient()final HTFluidIngredientgetFluidIngredient()final HTItemResultgetResult()BooleantestContainer(TypedInstance<Item> instance)BooleantestFluid(TypedInstance<Fluid> instance)Pair<Integer, Integer>getRequiredAmount(TypedInstance<Item> first, TypedInstance<Fluid> second)ItemStackassemble(ItemInstance firstInput, FluidInstance secondInput)指定されたfirstInputとsecondInputから完成品を作成します。 RecipeSerializer<HCTankFillingRecipe>getSerializer()RecipeType<HCTankFillingRecipe>getType()-
Methods inherited from class hiiragi283.core.common.recipe.HCTankFillingRecipe
getSerializer, getType, isSpecial -
Methods inherited from class hiiragi283.lib.recipe.HTSerializableRecipe
assemble, group, isSpecial, matches, placementInfo, recipeBookCategory, showNotification -
Methods inherited from class hiiragi283.core.api.recipe.HTTankFillingRecipe
test -
Methods inherited from class hiiragi283.lib.recipe.base.HTRecipePredicates.ItemAndFluid
matches -
Methods inherited from class java.util.function.BiPredicate
and, negate, or -
Methods inherited from class net.minecraft.world.item.crafting.Recipe
display -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HCTankFillingRecipe
HCTankFillingRecipe(Ingredient itemIngredient, HTFluidIngredient fluidIngredient, HTItemResult result)
-
-
Method Detail
-
getItemIngredient
final Ingredient getItemIngredient()
-
getFluidIngredient
final HTFluidIngredient getFluidIngredient()
-
getResult
final HTItemResult getResult()
-
testContainer
Boolean testContainer(TypedInstance<Item> instance)
-
getRequiredAmount
Pair<Integer, Integer> getRequiredAmount(TypedInstance<Item> first, TypedInstance<Fluid> second)
-
assemble
ItemStack assemble(ItemInstance firstInput, FluidInstance secondInput)
指定されたfirstInputとsecondInputから完成品を作成します。
-
getSerializer
RecipeSerializer<HCTankFillingRecipe> getSerializer()
-
getType
RecipeType<HCTankFillingRecipe> getType()
-
-
-
-