Interface Recipe<T extends RecipeInput>
- All Known Subinterfaces:
CraftingRecipe
,IShapedRecipe<T>
,SmithingRecipe
- All Known Implementing Classes:
AbstractCookingRecipe
,ArmorDyeRecipe
,BannerDuplicateRecipe
,BlastingRecipe
,BookCloningRecipe
,CampfireCookingRecipe
,ConditionalRecipe.Wrapper
,CustomRecipe
,DecoratedPotRecipe
,FireworkRocketRecipe
,FireworkStarFadeRecipe
,FireworkStarRecipe
,MapCloningRecipe
,MapExtendingRecipe
,RepairItemRecipe
,ShapedRecipe
,ShapelessRecipe
,ShieldDecorationRecipe
,ShulkerBoxColoring
,SingleItemRecipe
,SmeltingRecipe
,SmithingTransformRecipe
,SmithingTrimRecipe
,SmokingRecipe
,StonecutterRecipe
,SuspiciousStewRecipe
,TippedArrowRecipe
public interface Recipe<T extends RecipeInput>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Recipe<?>> static final StreamCodec
<RegistryFriendlyByteBuf, Recipe<?>> -
Method Summary
Modifier and TypeMethodDescriptionassemble
(T p_343633_, HolderLookup.Provider p_332698_) boolean
canCraftInDimensions
(int p_43999_, int p_44000_) default String
getGroup()
default NonNullList
<Ingredient> default NonNullList
<ItemStack> getRemainingItems
(T p_344178_) getResultItem
(HolderLookup.Provider p_331967_) default ItemStack
RecipeType
<?> getType()
default boolean
default boolean
boolean
default boolean
-
Field Details
-
CODEC
-
STREAM_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()
-