Package hiiragi283.core.common.recipe
Class HCExplodingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.lib.recipe.HTRecipeFactory,hiiragi283.lib.recipe.HTRecipePredicate,hiiragi283.lib.recipe.HTSerializableRecipe,hiiragi283.lib.recipe.base.HTRecipeFactories.SingleItemTo,hiiragi283.lib.recipe.base.HTRecipePredicates.SingleInput,hiiragi283.lib.recipe.base.HTRecipePredicates.SingleItem,java.util.function.Predicate,net.minecraft.world.item.crafting.Recipe
public final class HCExplodingRecipe extends HTInWorldRecipe implements HTSerializableRecipe<SingleRecipeInput>
-
-
Field Summary
Fields Modifier and Type Field Description public final static MapCodec<HCExplodingRecipe>CODECprivate final Ingredientingredientprivate final HTChancedItemResultresultprivate final BooleanisSpecialprivate final RecipeSerializer<HCExplodingRecipe>serializerprivate final RecipeType<HCExplodingRecipe>type
-
Constructor Summary
Constructors Constructor Description HCExplodingRecipe(Ingredient ingredient, HTChancedItemResult result)
-
Method Summary
Modifier and Type Method Description final IngredientgetIngredient()final HTChancedItemResultgetResult()RecipeSerializer<HCExplodingRecipe>getSerializer()RecipeType<HCExplodingRecipe>getType()-
Methods inherited from class hiiragi283.core.common.recipe.HCExplodingRecipe
getSerializer, getType, isSpecial -
Methods inherited from class hiiragi283.core.common.recipe.HTInWorldRecipe
assemble, getRequiredAmount, test -
Methods inherited from class hiiragi283.lib.recipe.HTSerializableRecipe
assemble, group, isSpecial, matches, placementInfo, recipeBookCategory, showNotification -
Methods inherited from class hiiragi283.lib.recipe.base.HTRecipePredicates.SingleItem
matches -
Methods inherited from class java.util.function.Predicate
and, negate, or -
Methods inherited from class net.minecraft.world.item.crafting.Recipe
display -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HCExplodingRecipe
HCExplodingRecipe(Ingredient ingredient, HTChancedItemResult result)
-
-
Method Detail
-
getIngredient
final Ingredient getIngredient()
-
getResult
final HTChancedItemResult getResult()
-
getSerializer
RecipeSerializer<HCExplodingRecipe> getSerializer()
-
getType
RecipeType<HCExplodingRecipe> getType()
-
-
-
-