Uses of Interface
net.minecraft.world.item.crafting.Recipe
Packages that use Recipe
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of Recipe in net.minecraft.data.recipes
Fields in net.minecraft.data.recipes with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final Function<CraftingBookCategory,
Recipe<?>> SpecialRecipeBuilder.factory
Methods in net.minecraft.data.recipes with parameters of type RecipeModifier and TypeMethodDescriptiondefault void
RecipeOutput.accept
(ResourceLocation id, Recipe<?> recipe, AdvancementHolder advancement) void
RecipeOutput.accept
(ResourceLocation id, Recipe<?> recipe, ResourceLocation advancementId, com.google.gson.JsonElement advancement) Method parameters in net.minecraft.data.recipes with type arguments of type RecipeModifier and TypeMethodDescriptionstatic SpecialRecipeBuilder
SpecialRecipeBuilder.special
(Function<CraftingBookCategory, Recipe<?>> p_310896_) Constructor parameters in net.minecraft.data.recipes with type arguments of type RecipeModifierConstructorDescriptionSpecialRecipeBuilder
(Function<CraftingBookCategory, Recipe<?>> p_312302_) -
Uses of Recipe in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with type parameters of type RecipeModifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
voidClientboundUpdateRecipesPacket.toNetwork
(FriendlyByteBuf p_179470_, RecipeHolder<?> p_297340_) -
Uses of Recipe in net.minecraft.recipebook
Method parameters in net.minecraft.recipebook with type arguments of type RecipeModifier and TypeMethodDescriptionprotected void
ServerPlaceRecipe.handleRecipeClicked
(RecipeHolder<? extends Recipe<C>> p_298652_, boolean p_135442_) void
ServerPlaceRecipe.recipeClicked
(ServerPlayer p_135435_, RecipeHolder<? extends Recipe<C>> p_298963_, boolean p_135437_) -
Uses of Recipe in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player declared as RecipeMethods in net.minecraft.world.entity.player with parameters of type RecipeModifier and TypeMethodDescriptionboolean
boolean
StackedContents.canCraft
(Recipe<?> p_36479_, it.unimi.dsi.fastutil.ints.IntList p_36480_, int p_36481_) Constructors in net.minecraft.world.entity.player with parameters of type Recipe -
Uses of Recipe in net.minecraft.world.inventory
Method parameters in net.minecraft.world.inventory with type arguments of type RecipeModifier and TypeMethodDescriptionboolean
AbstractFurnaceMenu.recipeMatches
(RecipeHolder<? extends Recipe<Container>> p_297720_) boolean
CraftingMenu.recipeMatches
(RecipeHolder<? extends Recipe<CraftingContainer>> p_300381_) boolean
InventoryMenu.recipeMatches
(RecipeHolder<? extends Recipe<CraftingContainer>> p_299815_) abstract boolean
RecipeBookMenu.recipeMatches
(RecipeHolder<? extends Recipe<C>> p_297792_) -
Uses of Recipe in net.minecraft.world.item.crafting
Classes in net.minecraft.world.item.crafting with type parameters of type RecipeModifier and TypeClassDescriptionfinal record
RecipeHolder<T extends Recipe<?>>
static interface
RecipeManager.CachedCheck<C extends Container,
T extends Recipe<C>> interface
RecipeSerializer<T extends Recipe<?>>
interface
RecipeType<T extends Recipe<?>>
Subinterfaces of Recipe in net.minecraft.world.item.craftingClasses in net.minecraft.world.item.crafting that implement RecipeModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Fields in net.minecraft.world.item.crafting declared as RecipeModifier and TypeFieldDescriptionprivate final T
RecipeHolder.value
The field for thevalue
record component.Fields in net.minecraft.world.item.crafting with type parameters of type RecipeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Recipe<?>>
Recipe.CODEC
Methods in net.minecraft.world.item.crafting with type parameters of type RecipeModifier and TypeMethodDescriptionprivate <C extends Container,
T extends Recipe<C>>
Map<ResourceLocation,RecipeHolder<T>> RecipeManager.byType
(RecipeType<T> p_44055_) static <C extends Container,
T extends Recipe<C>>
RecipeManager.CachedCheck<C,T> RecipeManager.createCheck
(RecipeType<T> p_220268_) <C extends Container,
T extends Recipe<C>>
List<RecipeHolder<T>>RecipeManager.getAllRecipesFor
(RecipeType<T> p_44014_) <C extends Container,
T extends Recipe<C>>
Optional<RecipeHolder<T>>RecipeManager.getRecipeFor
(RecipeType<T> p_44016_, C p_44017_, Level p_44018_) <C extends Container,
T extends Recipe<C>>
Optional<com.mojang.datafixers.util.Pair<ResourceLocation,RecipeHolder<T>>> RecipeManager.getRecipeFor
(RecipeType<T> p_220249_, C p_220250_, Level p_220251_, ResourceLocation p_220252_) <C extends Container,
T extends Recipe<C>>
List<RecipeHolder<T>>RecipeManager.getRecipesFor
(RecipeType<T> p_44057_, C p_44058_, Level p_44059_) <C extends Container,
T extends Recipe<C>>
NonNullList<ItemStack>RecipeManager.getRemainingItemsFor
(RecipeType<T> p_44070_, C p_44071_, Level p_44072_) static <S extends RecipeSerializer<T>,
T extends Recipe<?>>
Sstatic <T extends Recipe<?>>
RecipeType<T>static <T extends Recipe<?>>
RecipeType<T>RecipeType.simple
(ResourceLocation name) -
Uses of Recipe in net.minecraftforge.client
Fields in net.minecraftforge.client with type parameters of type RecipeModifier and TypeFieldDescriptionprivate static final Map<RecipeType<?>,
Function<Recipe<?>, RecipeBookCategories>> RecipeBookManager.RECIPE_CATEGORY_LOOKUPS
Methods in net.minecraftforge.client with type parameters of type RecipeModifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
@Nullable RecipeBookCategoriesRecipeBookManager.findCategories
(RecipeType<T> type, RecipeHolder<T> recipe) Finds the category the specified recipe should display in, or null if none. -
Uses of Recipe in net.minecraftforge.client.event
Fields in net.minecraftforge.client.event with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final Map<RecipeType<?>,
Function<Recipe<?>, RecipeBookCategories>> RegisterRecipeBookCategoriesEvent.recipeCategoryLookups
Method parameters in net.minecraftforge.client.event with type arguments of type RecipeModifier and TypeMethodDescriptionvoid
RegisterRecipeBookCategoriesEvent.registerRecipeCategoryFinder
(RecipeType<?> type, Function<Recipe<?>, RecipeBookCategories> lookup) Registers a category lookup for a certain recipe type. -
Uses of Recipe in net.minecraftforge.common.crafting
Subinterfaces of Recipe in net.minecraftforge.common.craftingModifier and TypeInterfaceDescriptioninterface
IShapedRecipe<T extends Container>
Used to mark a recipe that shape matters so that the recipe book and auto crafting picks the correct shape.Classes in net.minecraftforge.common.crafting that implement RecipeFields in net.minecraftforge.common.crafting declared as RecipeModifier and TypeFieldDescriptionprivate final Recipe<?>
ConditionalRecipe.InnerRecipe.recipe
The field for therecipe
record component.Fields in net.minecraftforge.common.crafting with type parameters of type RecipeModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<Recipe<?>>
ConditionalRecipe.CODEC
static final RecipeSerializer<Recipe<?>>
ConditionalRecipe.SERIALZIER
Methods in net.minecraftforge.common.crafting that return RecipeModifier and TypeMethodDescriptionRecipe<?>
ConditionalRecipe.InnerRecipe.recipe()
Returns the value of therecipe
record component.Methods in net.minecraftforge.common.crafting with parameters of type RecipeModifier and TypeMethodDescriptionConditionalRecipe.Builder.recipe
(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement) Constructors in net.minecraftforge.common.crafting with parameters of type RecipeModifierConstructorDescriptionprivate
InnerRecipe
(ICondition condition, Recipe<?> recipe) Creates an instance of aInnerRecipe
record class. -
Uses of Recipe in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data that return RecipeModifier and TypeMethodDescriptionprivate @Nullable Recipe<?>
ForgeRecipeProvider.enhance
(ResourceLocation id, Recipe<?> vanilla) private @Nullable Recipe<?>
ForgeRecipeProvider.enhance
(ResourceLocation id, ShapedRecipe vanilla) private @Nullable Recipe<?>
ForgeRecipeProvider.enhance
(ResourceLocation id, ShapelessRecipe vanilla) Methods in net.minecraftforge.common.data with parameters of type RecipeModifier and TypeMethodDescriptionprivate @Nullable Recipe<?>
ForgeRecipeProvider.enhance
(ResourceLocation id, Recipe<?> vanilla) -
Uses of Recipe in net.minecraftforge.debug.gameplay.crafting
Methods in net.minecraftforge.debug.gameplay.crafting with type parameters of type RecipeModifier and TypeMethodDescriptionConditionalRecipeTest.assertFalse
(GameTestHelper helper, RecipeType<T> type, C container) CustomIngredientsTest.assertRecipeMatch
(GameTestHelper helper, RecipeType<T> type, C container, String name) CustomIngredientsTest.assertRecipeMiss
(GameTestHelper helper, RecipeType<T> type, C container) ConditionalRecipeTest.assertTrue
(GameTestHelper helper, RecipeType<T> type, C container)