Package hiiragi283.core.common.recipe
Class HCTankEmptyingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,hiiragi283.core.api.recipe.base.HTFluidRecipe,hiiragi283.core.api.recipe.base.HTSerializableRecipe,hiiragi283.core.api.recipe.base.HTTankEmptyingRecipe,hiiragi283.core.api.recipe.base.HTTankEmptyingRecipe.Serializable,java.util.function.Predicate,net.minecraft.world.item.crafting.Recipe
public final class HCTankEmptyingRecipe implements HTTankEmptyingRecipe.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private final Ingredientingredientprivate final HTFluidResultfluidResultprivate final Optional<HTItemResult>itemResultprivate final ItemStacktoastSymbolprivate final NonNullList<Ingredient>ingredientsprivate final BooleanisSpecialprivate final BooleanisIncompleteprivate final Stringgroupprivate final RecipeSerializer<?>serializerprivate final RecipeType<?>type
-
Constructor Summary
Constructors Constructor Description HCTankEmptyingRecipe(Ingredient ingredient, HTFluidResult fluidResult, Optional<HTItemResult> itemResult)
-
Method Summary
Modifier and Type Method Description final IngredientgetIngredient()final HTFluidResultgetFluidResult()final Optional<HTItemResult>getItemResult()BooleantestContainer(ItemStack stack)ItemStackassemble(SingleRecipeInput input, Boolean preview)指定されたinputから完成品を作成します。 FluidStackassembleFluid(SingleRecipeInput input)完成品の液体を取得します。 RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.core.api.recipe.base.HTTankEmptyingRecipe.Serializable
getGroup, getIngredients, getToastSymbol, isIncomplete, isSpecial -
Methods inherited from class hiiragi283.core.common.recipe.HCTankEmptyingRecipe
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.HTTankEmptyingRecipe
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
-
HCTankEmptyingRecipe
HCTankEmptyingRecipe(Ingredient ingredient, HTFluidResult fluidResult, Optional<HTItemResult> itemResult)
-
-
Method Detail
-
getIngredient
final Ingredient getIngredient()
-
getFluidResult
final HTFluidResult getFluidResult()
-
getItemResult
final Optional<HTItemResult> getItemResult()
-
testContainer
Boolean testContainer(ItemStack stack)
-
assembleFluid
FluidStack assembleFluid(SingleRecipeInput input)
完成品の液体を取得します。
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-