Package hiiragi283.core.common.recipe
Class HCLightningChargingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,net.minecraft.world.item.crafting.Recipe
public final class HCLightningChargingRecipe implements HTRecipe<SingleRecipeInput>
-
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerDEFAULT_ENERGYprivate final HTItemIngredientingredientprivate final HTItemResultresultprivate final Integerenergyprivate final Fractionexpprivate final ItemStacktoastSymbolprivate final NonNullList<Ingredient>ingredientsprivate final BooleanisSpecialprivate final BooleanisIncompleteprivate final Stringgroupprivate final RecipeSerializer<?>serializerprivate final RecipeType<?>type
-
Constructor Summary
Constructors Constructor Description HCLightningChargingRecipe(HTItemIngredient ingredient, HTItemResult result, Integer energy, Fraction exp)
-
Method Summary
Modifier and Type Method Description final HTItemIngredientgetIngredient()final HTItemResultgetResult()final IntegergetEnergy()final FractiongetExp()Booleanmatches(SingleRecipeInput input, Level level)ItemStackgetResultItem(HolderLookup.Provider registries)RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.core.common.recipe.HCLightningChargingRecipe
getGroup, getIngredients, getSerializer, getToastSymbol, getType, isIncomplete, isSpecial -
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
-
HCLightningChargingRecipe
HCLightningChargingRecipe(HTItemIngredient ingredient, HTItemResult result, Integer energy, Fraction exp)
-
-
Method Detail
-
getIngredient
final HTItemIngredient getIngredient()
-
getResult
final HTItemResult getResult()
-
getExp
final Fraction getExp()
-
getResultItem
ItemStack getResultItem(HolderLookup.Provider registries)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-