Interface Recipe<C extends Container>
- All Known Subinterfaces:
CraftingRecipe
,IShapedRecipe<T>
,SmithingRecipe
- All Known Implementing Classes:
AbstractCookingRecipe
,ArmorDyeRecipe
,BannerDuplicateRecipe
,BlastingRecipe
,BookCloningRecipe
,CampfireCookingRecipe
,CustomRecipe
,DecoratedPotRecipe
,FireworkRocketRecipe
,FireworkStarFadeRecipe
,FireworkStarRecipe
,MapCloningRecipe
,MapExtendingRecipe
,RecipeBookTestRecipe
,RepairItemRecipe
,ShapedRecipe
,ShapelessRecipe
,ShieldDecorationRecipe
,ShulkerBoxColoring
,SingleItemRecipe
,SmeltingRecipe
,SmithingTransformRecipe
,SmithingTrimRecipe
,SmokingRecipe
,StonecutterRecipe
,SuspiciousStewRecipe
,TippedArrowRecipe
public interface Recipe<C extends Container>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Recipe<?>>
static final com.mojang.serialization.Codec<Optional<WithConditions<Recipe<?>>>>
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(C p_44001_, RegistryAccess p_267165_) boolean
canCraftInDimensions
(int p_43999_, int p_44000_) default String
getGroup()
default NonNullList<Ingredient>
default NonNullList<ItemStack>
getRemainingItems
(C p_44004_) getResultItem
(RegistryAccess p_267052_) default ItemStack
RecipeType<?>
getType()
default boolean
default boolean
boolean
default boolean
-
Field Details
-
CODEC
-
CONDITIONAL_CODEC
-
-
Method Details
-
matches
-
assemble
-
canCraftInDimensions
boolean canCraftInDimensions(int p_43999_, int p_44000_) -
getResultItem
-
getRemainingItems
-
getIngredients
-
isSpecial
default boolean isSpecial() -
showNotification
default boolean showNotification() -
getGroup
-
getToastSymbol
-
getSerializer
RecipeSerializer<?> getSerializer() -
getType
RecipeType<?> getType() -
isIncomplete
default boolean isIncomplete()
-