Package hiiragi283.core.common.recipe
Class HCExplodingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,net.minecraft.world.item.crafting.Recipe
public final class HCExplodingRecipe extends HCSingleItemRecipe<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 FractionminPowerprivate final HTItemIngredientingredientprivate 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 HCExplodingRecipe(HTItemIngredient ingredient, HTItemResult result, Fraction minPower)
-
Method Summary
Modifier and Type Method Description final FractiongetMinPower()final HTItemIngredientgetIngredient()final HTItemResultgetResult()Booleanmatches(HCExplodingRecipe.Input input, Level level)RecipeSerializer<?>getSerializer()RecipeType<?>getType()final static ItemStackcreateIcon(Float power)-
Methods inherited from class hiiragi283.core.common.recipe.HCExplodingRecipe
getGroup, getIngredients, getSerializer, getToastSymbol, getType, isIncomplete, isSpecial -
Methods inherited from class hiiragi283.core.common.recipe.HCSingleItemRecipe
getResultItem -
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
-
HCExplodingRecipe
HCExplodingRecipe(HTItemIngredient ingredient, HTItemResult result, Fraction minPower)
-
-
Method Detail
-
getMinPower
final Fraction getMinPower()
-
getIngredient
final HTItemIngredient getIngredient()
-
getResult
final HTItemResult getResult()
-
matches
Boolean matches(HCExplodingRecipe.Input input, Level level)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
createIcon
final static ItemStack createIcon(Float power)
-
-
-
-