Package hiiragi283.ragium.common.recipe
Class HTAlloyingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,hiiragi283.core.api.recipe.base.HTProcessingRecipe,hiiragi283.core.api.recipe.base.HTProcessingRecipe.Serializable,hiiragi283.core.api.recipe.base.HTSerializableRecipe,java.util.function.Predicate,net.minecraft.world.item.crafting.Recipe
public final class HTAlloyingRecipe implements HTProcessingRecipe.Serializable<HTAlloyingRecipe.Input>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHTAlloyingRecipe.Input
-
Field Summary
Fields Modifier and Type Field Description private final HTItemIngredientprimaryprivate final HTItemIngredientsecondaryprivate final HTItemIngredienttertiaryprivate final HTItemResultresultprivate final Integertimeprivate final ItemStacktoastSymbolprivate final NonNullList<Ingredient>ingredientsprivate final BooleanisSpecialprivate final BooleanisIncompleteprivate final Stringgroupprivate final RecipeSerializer<?>serializerprivate final RecipeType<?>type
-
Constructor Summary
Constructors Constructor Description HTAlloyingRecipe(HTItemIngredient primary, HTItemIngredient secondary, HTItemIngredient tertiary, HTItemResult result, Integer time)HTAlloyingRecipe(List<HTItemIngredient> ingredients, HTItemResult result, Integer time)
-
Method Summary
Modifier and Type Method Description final HTItemIngredientgetPrimary()final HTItemIngredientgetSecondary()final HTItemIngredientgetTertiary()final HTItemResultgetResult()IntegergetTime()Booleantest(HTAlloyingRecipe.Input input)ItemStackassemble(HTAlloyingRecipe.Input input, Boolean preview)RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.ragium.common.recipe.HTAlloyingRecipe
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 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
-
-
Method Detail
-
getPrimary
final HTItemIngredient getPrimary()
-
getSecondary
final HTItemIngredient getSecondary()
-
getTertiary
final HTItemIngredient getTertiary()
-
getResult
final HTItemResult getResult()
-
test
Boolean test(HTAlloyingRecipe.Input input)
-
assemble
ItemStack assemble(HTAlloyingRecipe.Input input, Boolean preview)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-