Uses of Interface
net.minecraft.world.item.crafting.Recipe
Packages that use Recipe
Package
Description
Classes for NeoForge's own data generation.
-
Uses of Recipe in net.minecraft.advancements
Fields in net.minecraft.advancements with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<ResourceKey<Recipe<?>>> AdvancementRewards.Builder.recipesprivate final List<ResourceKey<Recipe<?>>> AdvancementRewards.recipesThe field for therecipesrecord component.Methods in net.minecraft.advancements that return types with arguments of type RecipeModifier and TypeMethodDescriptionList<ResourceKey<Recipe<?>>> AdvancementRewards.recipes()Returns the value of therecipesrecord component.Method parameters in net.minecraft.advancements with type arguments of type RecipeModifier and TypeMethodDescriptionAdvancementRewards.Builder.addRecipe(ResourceKey<Recipe<?>> recipe) static AdvancementRewards.BuilderAdvancementRewards.Builder.recipe(ResourceKey<Recipe<?>> recipe) -
Uses of Recipe in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final ResourceKey<Recipe<?>> RecipeUnlockedTrigger.TriggerInstance.recipeThe field for thereciperecord component.private final ResourceKey<Recipe<?>> RecipeCraftedTrigger.TriggerInstance.recipeIdThe field for therecipeIdrecord component.private final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> PlayerPredicate.Builder.recipesprivate final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> PlayerPredicate.recipesThe field for therecipesrecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type RecipeModifier and TypeMethodDescriptionResourceKey<Recipe<?>> RecipeUnlockedTrigger.TriggerInstance.recipe()Returns the value of thereciperecord component.ResourceKey<Recipe<?>> RecipeCraftedTrigger.TriggerInstance.recipeId()Returns the value of therecipeIdrecord component.it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> PlayerPredicate.recipes()Returns the value of therecipesrecord component.Method parameters in net.minecraft.advancements.critereon with type arguments of type RecipeModifier and TypeMethodDescriptionPlayerPredicate.Builder.addRecipe(ResourceKey<Recipe<?>> recipe, boolean unlocked) RecipeCraftedTrigger.TriggerInstance.craftedItem(ResourceKey<Recipe<?>> recipeId) RecipeCraftedTrigger.TriggerInstance.craftedItem(ResourceKey<Recipe<?>> recipeId, List<ItemPredicate.Builder> ingredients) RecipeCraftedTrigger.TriggerInstance.crafterCraftedItem(ResourceKey<Recipe<?>> recipeId) (package private) booleanRecipeCraftedTrigger.TriggerInstance.matches(ResourceKey<Recipe<?>> recipeId, List<ItemStack> ingredients) voidRecipeCraftedTrigger.trigger(ServerPlayer player, ResourceKey<Recipe<?>> recipeId, List<ItemStack> ingredients) RecipeUnlockedTrigger.unlocked(ResourceKey<Recipe<?>> recipe) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type RecipeModifierConstructorDescriptionPlayerPredicate(MinMaxBounds.Ints level, GameTypePredicate gameType, List<PlayerPredicate.StatMatcher<?>> stats, it.unimi.dsi.fastutil.objects.Object2BooleanMap<ResourceKey<Recipe<?>>> recipes, Map<ResourceLocation, PlayerPredicate.AdvancementPredicate> advancements, Optional<EntityPredicate> lookingAt, Optional<InputPredicate> input) Creates an instance of aPlayerPredicaterecord class.TriggerInstance(Optional<ContextAwarePredicate> player, ResourceKey<Recipe<?>> recipeId, List<ItemPredicate> ingredients) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<ContextAwarePredicate> player, ResourceKey<Recipe<?>> recipe) Creates an instance of aTriggerInstancerecord class. -
Uses of Recipe in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type RecipeModifier and TypeFieldDescriptionstatic final DataComponentType<List<ResourceKey<Recipe<?>>>> DataComponents.RECIPES -
Uses of Recipe in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type Recipe -
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.factoryMethods in net.minecraft.data.recipes with parameters of type RecipeModifier and TypeMethodDescriptiondefault voidRecipeOutput.accept(ResourceKey<Recipe<?>> key, Recipe<?> recipe, AdvancementHolder advancement) Method parameters in net.minecraft.data.recipes with type arguments of type RecipeModifier and TypeMethodDescriptiondefault voidRecipeOutput.accept(ResourceKey<Recipe<?>> key, Recipe<?> recipe, AdvancementHolder advancement) private ShapedRecipePatternShapedRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> recipe) private voidShapelessRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> recipe) private voidSimpleCookingRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> recipe) private voidSingleItemRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> recipe) private voidSmithingTransformRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> recipe) private voidSmithingTrimRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> recipe) private voidTransmuteRecipeBuilder.ensureValid(ResourceKey<Recipe<?>> recipe) voidRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> resourceKey) voidShapedRecipeBuilder.save(RecipeOutput p_301098_, ResourceKey<Recipe<?>> p_380072_) voidShapelessRecipeBuilder.save(RecipeOutput p_301215_, ResourceKey<Recipe<?>> p_379987_) voidSimpleCookingRecipeBuilder.save(RecipeOutput p_301266_, ResourceKey<Recipe<?>> p_380371_) voidSingleItemRecipeBuilder.save(RecipeOutput p_301137_, ResourceKey<Recipe<?>> p_379508_) voidSmithingTransformRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> resourceKey) voidSmithingTrimRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> resourceKey) voidSpecialRecipeBuilder.save(RecipeOutput output, ResourceKey<Recipe<?>> resourceKey) voidTransmuteRecipeBuilder.save(RecipeOutput p_374401_, ResourceKey<Recipe<?>> p_379646_) static SpecialRecipeBuilderSpecialRecipeBuilder.special(Function<CraftingBookCategory, Recipe<?>> factory) Constructor parameters in net.minecraft.data.recipes with type arguments of type RecipeModifierConstructorDescriptionSpecialRecipeBuilder(Function<CraftingBookCategory, Recipe<?>> factory) -
Uses of Recipe in net.minecraft.data.recipes.packs
Fields in net.minecraft.data.recipes.packs with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final ResourceKey<Recipe<?>> VanillaRecipeProvider.TrimTemplate.recipeIdThe field for therecipeIdrecord component.Methods in net.minecraft.data.recipes.packs that return types with arguments of type RecipeModifier and TypeMethodDescriptionResourceKey<Recipe<?>> VanillaRecipeProvider.TrimTemplate.recipeId()Returns the value of therecipeIdrecord component. -
Uses of Recipe in net.minecraft.recipebook
Classes in net.minecraft.recipebook with type parameters of type RecipeModifier and TypeClassDescriptionclassServerPlaceRecipe<R extends Recipe<?>>static interfaceServerPlaceRecipe.CraftingMenuAccess<T extends Recipe<?>>Methods in net.minecraft.recipebook with type parameters of type RecipeModifier and TypeMethodDescriptionstatic <I extends RecipeInput,R extends Recipe<I>>
RecipeBookMenu.PostPlaceActionServerPlaceRecipe.placeRecipe(ServerPlaceRecipe.CraftingMenuAccess<R> menu, int gridWidth, int gridHeight, List<Slot> inputGridSlots, List<Slot> slotsToClear, Inventory inventory, RecipeHolder<R> recipe, boolean useMaxItems, boolean isCreative) Methods in net.minecraft.recipebook with parameters of type RecipeModifier and TypeMethodDescriptionstatic <T> voidPlaceRecipeHelper.placeRecipe(int width, int height, Recipe<?> recipe, Iterable<T> ingredients, PlaceRecipeHelper.Output<T> output) -
Uses of Recipe in net.minecraft.server.level
Method parameters in net.minecraft.server.level with type arguments of type RecipeModifier and TypeMethodDescriptionvoidServerPlayer.awardRecipesByKey(List<ResourceKey<Recipe<?>>> p_312811_) -
Uses of Recipe in net.minecraft.stats
Fields in net.minecraft.stats with type parameters of type RecipeModifier and TypeFieldDescriptionprotected final Set<ResourceKey<Recipe<?>>> ServerRecipeBook.highlightprotected final Set<ResourceKey<Recipe<?>>> ServerRecipeBook.knownprivate static final com.mojang.serialization.Codec<List<ResourceKey<Recipe<?>>>> ServerRecipeBook.RECIPE_LIST_CODECMethod parameters in net.minecraft.stats with type arguments of type RecipeModifier and TypeMethodDescriptionvoidServerRecipeBook.add(ResourceKey<Recipe<?>> recipe) private voidServerRecipeBook.addHighlight(ResourceKey<Recipe<?>> recipe) booleanServerRecipeBook.contains(ResourceKey<Recipe<?>> recipe) voidServerRecipeBook.DisplayResolver.displaysForRecipe(ResourceKey<Recipe<?>> recipe, Consumer<RecipeDisplayEntry> output) voidServerRecipeBook.fromNbt(CompoundTag tag, Predicate<ResourceKey<Recipe<?>>> isRecognized) private voidServerRecipeBook.loadRecipes(List<ResourceKey<Recipe<?>>> recipes, Consumer<ResourceKey<Recipe<?>>> output, Predicate<ResourceKey<Recipe<?>>> isRecognized) private voidServerRecipeBook.loadRecipes(List<ResourceKey<Recipe<?>>> recipes, Consumer<ResourceKey<Recipe<?>>> output, Predicate<ResourceKey<Recipe<?>>> isRecognized) private voidServerRecipeBook.loadRecipes(List<ResourceKey<Recipe<?>>> recipes, Consumer<ResourceKey<Recipe<?>>> output, Predicate<ResourceKey<Recipe<?>>> isRecognized) voidServerRecipeBook.remove(ResourceKey<Recipe<?>> recipe) voidServerRecipeBook.removeHighlight(ResourceKey<Recipe<?>> recipe) -
Uses of Recipe in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type RecipeModifier and TypeMethodDescriptionbooleanStackedItemContents.canCraft(Recipe<?> recipe, int maxCount, StackedContents.Output<Holder<Item>> output) booleanStackedItemContents.canCraft(Recipe<?> recipe, StackedContents.Output<Holder<Item>> output) intStackedItemContents.getBiggestCraftableStack(Recipe<?> recipe, int maxCount, StackedContents.Output<Holder<Item>> output) intStackedItemContents.getBiggestCraftableStack(Recipe<?> recipe, StackedContents.Output<Holder<Item>> output) Method parameters in net.minecraft.world.entity.player with type arguments of type RecipeModifier and TypeMethodDescriptionvoidPlayer.awardRecipesByKey(List<ResourceKey<Recipe<?>>> recipes) -
Uses of Recipe in net.minecraft.world.item.crafting
Classes in net.minecraft.world.item.crafting with type parameters of type RecipeModifier and TypeClassDescriptionfinal recordRecipeHolder<T extends Recipe<?>>static interfaceRecipeManager.CachedCheck<I extends RecipeInput,T extends Recipe<I>> interfaceRecipeSerializer<T extends Recipe<?>>interfaceRecipeType<T extends Recipe<?>>final recordSelectableRecipe<T extends Recipe<?>>static final recordSelectableRecipe.SingleInputEntry<T extends Recipe<?>>static final recordSelectableRecipe.SingleInputSet<T extends Recipe<?>>Subinterfaces of Recipe in net.minecraft.world.item.craftingClasses in net.minecraft.world.item.crafting that implement RecipeModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassFields in net.minecraft.world.item.crafting declared as RecipeModifier and TypeFieldDescriptionprivate final TRecipeHolder.valueThe field for thevaluerecord component.Fields in net.minecraft.world.item.crafting with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final Map<ResourceKey<Recipe<?>>, RecipeHolder<?>> RecipeMap.byKeystatic final com.mojang.serialization.Codec<Recipe<?>> Recipe.CODECstatic final com.mojang.serialization.Codec<Optional<WithConditions<Recipe<?>>>> Recipe.CONDITIONAL_CODECprivate final ResourceKey<Recipe<?>> RecipeHolder.idThe field for theidrecord component.static final com.mojang.serialization.Codec<ResourceKey<Recipe<?>>> Recipe.KEY_CODECprivate it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> RecipeManager.recipePrioritiesprivate Map<ResourceKey<Recipe<?>>, List<RecipeManager.ServerDisplayInfo>> RecipeManager.recipeToDisplaystatic final StreamCodec<RegistryFriendlyByteBuf, Recipe<?>> Recipe.STREAM_CODECMethods in net.minecraft.world.item.crafting with type parameters of type RecipeModifier and TypeMethodDescriptionprivate <T extends Recipe<?>>
RecipeHolder<T> RecipeManager.byKeyTyped(RecipeType<T> type, ResourceKey<Recipe<?>> key) <I extends RecipeInput,T extends Recipe<I>>
Collection<RecipeHolder<T>> RecipeMap.byType(RecipeType<T> type) static <I extends RecipeInput,T extends Recipe<I>>
RecipeManager.CachedCheck<I, T> RecipeManager.createCheck(RecipeType<T> recipeType) static <T extends Recipe<?>>
SelectableRecipe.SingleInputSet<T> SelectableRecipe.SingleInputSet.empty()<I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor(RecipeType<T> recipeType, I input, Level level) <I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor(RecipeType<T> recipeType, I input, Level level, ResourceKey<Recipe<?>> recipe) <I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor(RecipeType<T> recipeType, I input, Level level, RecipeHolder<T> lastRecipe) <I extends RecipeInput,T extends Recipe<I>>
Stream<RecipeHolder<T>> RecipeMap.getRecipesFor(RecipeType<T> type, I input, Level level) static <T extends Recipe<?>>
StreamCodec<RegistryFriendlyByteBuf, SelectableRecipe<T>> SelectableRecipe.noRecipeCodec()static <T extends Recipe<?>>
StreamCodec<RegistryFriendlyByteBuf, SelectableRecipe.SingleInputEntry<T>> SelectableRecipe.SingleInputEntry.noRecipeCodec()static <T extends Recipe<?>>
StreamCodec<RegistryFriendlyByteBuf, SelectableRecipe.SingleInputSet<T>> SelectableRecipe.SingleInputSet.noRecipeCodec()static <S extends RecipeSerializer<T>,T extends Recipe<?>>
Sstatic <T extends Recipe<?>>
RecipeType<T> static <T extends Recipe<?>>
RecipeType<T> RecipeType.simple(ResourceLocation name) Methods in net.minecraft.world.item.crafting that return types with arguments of type RecipeModifier and TypeMethodDescriptionRecipeSerializer<? extends Recipe<T>> Recipe.getSerializer()RecipeType<? extends Recipe<T>> Recipe.getType()ResourceKey<Recipe<?>> RecipeHolder.id()Returns the value of theidrecord component.Methods in net.minecraft.world.item.crafting with parameters of type RecipeModifier and TypeMethodDescriptionvoidMethod parameters in net.minecraft.world.item.crafting with type arguments of type RecipeModifier and TypeMethodDescriptionOptional<RecipeHolder<?>> RecipeManager.byKey(ResourceKey<Recipe<?>> key) RecipeHolder<?> RecipeMap.byKey(ResourceKey<Recipe<?>> key) private <T extends Recipe<?>>
RecipeHolder<T> RecipeManager.byKeyTyped(RecipeType<T> type, ResourceKey<Recipe<?>> key) protected static RecipeHolder<?> RecipeManager.fromJson(ResourceKey<Recipe<?>> recipe, JsonObject json, HolderLookup.Provider registries) <I extends RecipeInput,T extends Recipe<I>>
Optional<RecipeHolder<T>> RecipeManager.getRecipeFor(RecipeType<T> recipeType, I input, Level level, ResourceKey<Recipe<?>> recipe) voidRecipeManager.listDisplaysForRecipe(ResourceKey<Recipe<?>> recipe, Consumer<RecipeDisplayEntry> output) voidRecipeMap.order(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> recipePriorities) voidRecipeManager.setPriorityMap(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> recipePriorities) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type RecipeModifierConstructorDescriptionRecipeHolder(ResourceKey<Recipe<?>> id, T value) Creates an instance of aRecipeHolderrecord class.privateRecipeMap(Multimap<RecipeType<?>, RecipeHolder<?>> byType, Map<ResourceKey<Recipe<?>>, RecipeHolder<?>> byKey) -
Uses of Recipe in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity with type parameters of type RecipeModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<Map<ResourceKey<Recipe<?>>, Integer>> AbstractFurnaceBlockEntity.RECIPES_USED_CODECprivate final it.unimi.dsi.fastutil.objects.Reference2IntOpenHashMap<ResourceKey<Recipe<?>>> AbstractFurnaceBlockEntity.recipesUsed -
Uses of Recipe in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting with type parameters of type RecipeModifier and TypeFieldDescriptionprivate it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> RecipePriorityManager.recipePrioritiesMethods in net.neoforged.neoforge.common.crafting that return types with arguments of type RecipeModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> RecipePriorityManager.getRecipePriorities()An immutable map of the registered recipe priorities in layered order.protected it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> RecipePriorityManager.prepare(ResourceManager resourceManager, ProfilerFiller profilerFiller) Methods in net.neoforged.neoforge.common.crafting with parameters of type RecipeModifier and TypeMethodDescriptionvoidConditionalRecipeOutput.accept(ResourceKey<Recipe<?>> id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Method parameters in net.neoforged.neoforge.common.crafting with type arguments of type RecipeModifier and TypeMethodDescriptionvoidConditionalRecipeOutput.accept(ResourceKey<Recipe<?>> id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) protected voidRecipePriorityManager.apply(it.unimi.dsi.fastutil.objects.Object2IntMap<ResourceKey<Recipe<?>>> map, ResourceManager resourceManager, ProfilerFiller profilerFiller) -
Uses of Recipe in net.neoforged.neoforge.common.data
Method parameters in net.neoforged.neoforge.common.data with type arguments of type RecipeModifier and TypeMethodDescriptionvoidRecipePrioritiesProvider.add(ResourceKey<Recipe> recipe, int priority) -
Uses of Recipe in net.neoforged.neoforge.common.data.internal
Fields in net.neoforged.neoforge.common.data.internal with type parameters of type RecipeModifier and TypeFieldDescriptionprivate final Set<ResourceKey<Recipe<?>>> NeoForgeRecipeProvider.InterceptingRecipeOutput.excludesMethods in net.neoforged.neoforge.common.data.internal that return RecipeModifier and TypeMethodDescriptionprivate @Nullable Recipe<?> NeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> id, Recipe<?> vanilla) Methods in net.neoforged.neoforge.common.data.internal with parameters of type RecipeModifier and TypeMethodDescriptionvoidNeoForgeRecipeProvider.InterceptingRecipeOutput.accept(ResourceKey<Recipe<?>> id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) private @Nullable Recipe<?> NeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> id, Recipe<?> vanilla) Method parameters in net.neoforged.neoforge.common.data.internal with type arguments of type RecipeModifier and TypeMethodDescriptionvoidNeoForgeRecipeProvider.InterceptingRecipeOutput.accept(ResourceKey<Recipe<?>> id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) private @Nullable IngredientNeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> name, Ingredient vanilla) private @Nullable Recipe<?> NeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> id, Recipe<?> vanilla) private @Nullable ShapedRecipeNeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> id, ShapedRecipe vanilla) private @Nullable ShapelessRecipeNeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> id, ShapelessRecipe vanilla) -
Uses of Recipe in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type RecipeModifier and TypeMethodDescriptionvoidIRecipeOutputExtension.accept(ResourceKey<Recipe<?>> key, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Generates a recipe with the given conditions.Method parameters in net.neoforged.neoforge.common.extensions with type arguments of type RecipeModifier and TypeMethodDescriptionvoidIRecipeOutputExtension.accept(ResourceKey<Recipe<?>> key, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Generates a recipe with the given conditions.