Package hiiragi283.core.common.recipe
Class HCExplodingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,hiiragi283.core.api.recipe.base.HTSerializableRecipe,java.util.function.Predicate,net.minecraft.world.item.crafting.Recipe
public final class HCExplodingRecipe implements HTSerializableRecipe<HCExplodingRecipe.Input>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHCExplodingRecipe.Input
-
Field Summary
Fields Modifier and Type Field Description private final Ingredientingredientprivate final HTItemResultresultprivate final FractionrequiredPowerprivate final ItemStacktoastSymbolprivate final NonNullList<Ingredient>ingredientsprivate final BooleanisSpecialprivate final BooleanisIncompleteprivate final Stringgroupprivate final RecipeSerializer<?>serializerprivate final RecipeType<?>type
-
Constructor Summary
Constructors Constructor Description HCExplodingRecipe(Ingredient ingredient, HTItemResult result, Fraction requiredPower)
-
Method Summary
Modifier and Type Method Description final IngredientgetIngredient()final HTItemResultgetResult()final FractiongetRequiredPower()Booleantest(HCExplodingRecipe.Input input)指定されたinputが,このレシピの条件を満たすか判定します。 ItemStackassemble(HCExplodingRecipe.Input input, Boolean preview)指定されたinputから完成品を作成します。 RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.core.common.recipe.HCExplodingRecipe
getGroup, getIngredients, getSerializer, getToastSymbol, getType, isIncomplete, isSpecial -
Methods inherited from class hiiragi283.core.api.recipe.base.HTSerializableRecipe
assemble, canCraftInDimensions, getIngredients, getRemainingItems, getResultItem, isSpecial, matches -
Methods inherited from class net.minecraft.world.item.crafting.Recipe
showNotification -
Methods inherited from class java.util.function.Predicate
and, negate, or -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HCExplodingRecipe
HCExplodingRecipe(Ingredient ingredient, HTItemResult result, Fraction requiredPower)
-
-
Method Detail
-
getIngredient
final Ingredient getIngredient()
-
getResult
final HTItemResult getResult()
-
getRequiredPower
final Fraction getRequiredPower()
-
test
Boolean test(HCExplodingRecipe.Input input)
指定されたinputが,このレシピの条件を満たすか判定します。
-
assemble
ItemStack assemble(HCExplodingRecipe.Input input, Boolean preview)
指定されたinputから完成品を作成します。
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-