Uses of Interface
net.minecraft.world.item.crafting.Recipe
Package
Description
Classes for NeoForge's own data generation.
-
Uses of Recipe in net.minecraft.data.recipes
Modifier and TypeFieldDescriptionprivate final Function<CraftingBookCategory,
Recipe<?>> SpecialRecipeBuilder.factory
Modifier and TypeMethodDescriptiondefault void
RecipeOutput.accept
(ResourceLocation p_312249_, Recipe<?> p_312328_, AdvancementHolder p_312176_) Modifier and TypeMethodDescriptionstatic SpecialRecipeBuilder
SpecialRecipeBuilder.special
(Function<CraftingBookCategory, Recipe<?>> p_312084_) ModifierConstructorDescriptionSpecialRecipeBuilder
(Function<CraftingBookCategory, Recipe<?>> p_312708_) -
Uses of Recipe in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
voidClientboundUpdateRecipesPacket.toNetwork
(FriendlyByteBuf p_179470_, RecipeHolder<?> p_301050_) -
Uses of Recipe in net.minecraft.recipebook
Modifier and TypeMethodDescriptionprotected void
ServerPlaceRecipe.handleRecipeClicked
(RecipeHolder<? extends Recipe<C>> p_301187_, boolean p_135442_) void
ServerPlaceRecipe.recipeClicked
(ServerPlayer p_135435_, RecipeHolder<? extends Recipe<C>> p_301150_, boolean p_135437_) -
Uses of Recipe in net.minecraft.world.entity.player
-
Uses of Recipe in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionboolean
AbstractFurnaceMenu.recipeMatches
(RecipeHolder<? extends Recipe<Container>> p_300882_) boolean
CraftingMenu.recipeMatches
(RecipeHolder<? extends Recipe<CraftingContainer>> p_300858_) boolean
InventoryMenu.recipeMatches
(RecipeHolder<? extends Recipe<CraftingContainer>> p_300901_) abstract boolean
RecipeBookMenu.recipeMatches
(RecipeHolder<? extends Recipe<C>> p_301144_) -
Uses of Recipe in net.minecraft.world.item.crafting
Modifier 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<?>>
Modifier 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
Modifier and TypeFieldDescriptionprivate final T
RecipeHolder.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Recipe<?>>
Recipe.CODEC
static final com.mojang.serialization.Codec<Optional<WithConditions<Recipe<?>>>>
Recipe.CONDITIONAL_CODEC
Modifier 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.neoforged.neoforge.client
Modifier 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.neoforged.neoforge.common.crafting
Modifier 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.Modifier and TypeMethodDescriptionvoid
ConditionalRecipeOutput.accept
(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) -
Uses of Recipe in net.neoforged.neoforge.common.data.internal
Modifier and TypeMethodDescriptionprivate @Nullable Recipe<?>
NeoForgeRecipeProvider.enhance
(ResourceLocation id, Recipe<?> vanilla) Modifier and TypeMethodDescriptionprivate @Nullable Recipe<?>
NeoForgeRecipeProvider.enhance
(ResourceLocation id, Recipe<?> vanilla) -
Uses of Recipe in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptionvoid
IRecipeOutputExtension.accept
(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Generates a recipe with the given conditions. -
Uses of Recipe in net.neoforged.neoforge.oldtest.recipebook
Modifier and TypeMethodDescriptionboolean
RecipeBookTestMenu.recipeMatches
(RecipeHolder<? extends Recipe<RecipeBookExtensionTest.RecipeBookTestContainer>> recipeHolder)