Package hiiragi283.core.common.recipe
Class HCTankFillingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,hiiragi283.core.api.recipe.base.HTSerializableRecipe,hiiragi283.core.api.recipe.base.HTTankFillingRecipe,hiiragi283.core.api.recipe.base.HTTankFillingRecipe.Serializable,java.util.function.Predicate,net.minecraft.world.item.crafting.Recipe
public final class HCTankFillingRecipe implements HTTankFillingRecipe.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private final IngredientitemIngredientprivate final HTFluidIngredientfluidIngredientprivate final HTItemResultresultprivate final ItemStacktoastSymbolprivate final NonNullList<Ingredient>ingredientsprivate final BooleanisSpecialprivate final BooleanisIncompleteprivate final Stringgroupprivate final RecipeSerializer<?>serializerprivate final RecipeType<?>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(ItemStack stack)BooleantestFluid(FluidStack stack)IntegergetRequiredFluidAmount(HTItemAndFluidRecipeInput input)ItemStackassemble(HTItemAndFluidRecipeInput input, Boolean preview)指定されたinputから完成品を作成します。 RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.core.api.recipe.base.HTTankFillingRecipe.Serializable
getGroup, getIngredients, getToastSymbol, isIncomplete, isSpecial -
Methods inherited from class hiiragi283.core.common.recipe.HCTankFillingRecipe
getSerializer, getType -
Methods inherited from class hiiragi283.core.api.recipe.base.HTSerializableRecipe
assemble, canCraftInDimensions, getIngredients, getRemainingItems, getResultItem, isSpecial, matches -
Methods inherited from class hiiragi283.core.api.recipe.base.HTTankFillingRecipe
test -
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
-
-
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(ItemStack stack)
-
getRequiredFluidAmount
Integer getRequiredFluidAmount(HTItemAndFluidRecipeInput input)
-
assemble
ItemStack assemble(HTItemAndFluidRecipeInput input, Boolean preview)
指定されたinputから完成品を作成します。
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-