Uses of Interface
net.minecraft.world.item.crafting.Recipe
Packages that use Recipe
Package
Description
-
Uses of Recipe in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type RecipeModifier and TypeMethodDescriptionboolean
void
RecipeUnlockedTrigger.trigger
(ServerPlayer p_63719_, Recipe<?> p_63720_) -
Uses of Recipe in net.minecraft.client
Methods in net.minecraft.client that return types with arguments of type RecipeModifier and TypeMethodDescriptionprivate static Map<RecipeBookCategories,
List<List<Recipe<?>>>> ClientRecipeBook.categorizeAndGroupRecipes
(Iterable<Recipe<?>> p_90643_) Methods in net.minecraft.client with parameters of type RecipeModifier and TypeMethodDescriptionprivate static RecipeBookCategories
ClientRecipeBook.getCategory
(Recipe<?> p_90647_) Method parameters in net.minecraft.client with type arguments of type RecipeModifier and TypeMethodDescriptionprivate static Map<RecipeBookCategories,
List<List<Recipe<?>>>> ClientRecipeBook.categorizeAndGroupRecipes
(Iterable<Recipe<?>> p_90643_) void
ClientRecipeBook.setupCollections
(Iterable<Recipe<?>> p_90626_) -
Uses of Recipe in net.minecraft.client.gui.components.toasts
Fields in net.minecraft.client.gui.components.toasts with type parameters of type RecipeMethods in net.minecraft.client.gui.components.toasts with parameters of type RecipeModifier and TypeMethodDescriptionprivate void
static void
RecipeToast.addOrUpdate
(ToastComponent p_94818_, Recipe<?> p_94819_) Constructors in net.minecraft.client.gui.components.toasts with parameters of type Recipe -
Uses of Recipe in net.minecraft.client.gui.screens.recipebook
Fields in net.minecraft.client.gui.screens.recipebook declared as RecipeModifier and TypeFieldDescriptionprivate Recipe<?>
RecipeBookPage.lastClickedRecipe
private Recipe<?>
OverlayRecipeComponent.lastRecipeClicked
private Recipe<?>
GhostRecipe.recipe
(package private) final Recipe<?>
OverlayRecipeComponent.OverlayRecipeButton.recipe
Fields in net.minecraft.client.gui.screens.recipebook with type parameters of type RecipeModifier and TypeFieldDescriptionRecipeCollection.craftable
RecipeCollection.fitsDimensions
RecipeCollection.known
RecipeCollection.recipes
Methods in net.minecraft.client.gui.screens.recipebook that return RecipeModifier and TypeMethodDescriptionRecipe<?>
RecipeBookPage.getLastClickedRecipe()
Recipe<?>
OverlayRecipeComponent.getLastRecipeClicked()
Recipe<?>
GhostRecipe.getRecipe()
Recipe<?>
RecipeButton.getRecipe()
Methods in net.minecraft.client.gui.screens.recipebook that return types with arguments of type RecipeModifier and TypeMethodDescriptionRecipeCollection.getDisplayRecipes
(boolean p_100514_) RecipeButton.getOrderedRecipes()
RecipeCollection.getRecipes()
RecipeCollection.getRecipes
(boolean p_100511_) Methods in net.minecraft.client.gui.screens.recipebook with parameters of type RecipeModifier and TypeMethodDescriptionprotected void
OverlayRecipeComponent.OverlayRecipeButton.calculateIngredientsPositions
(Recipe<?> p_100236_) protected void
OverlayRecipeComponent.OverlaySmeltingRecipeButton.calculateIngredientsPositions
(Recipe<?> p_100267_) boolean
RecipeCollection.isCraftable
(Recipe<?> p_100507_) void
void
AbstractFurnaceRecipeBookComponent.setupGhostRecipe
(Recipe<?> p_100122_, List<Slot> p_100123_) void
RecipeBookComponent.setupGhostRecipe
(Recipe<?> p_100316_, List<Slot> p_100317_) Method parameters in net.minecraft.client.gui.screens.recipebook with type arguments of type RecipeModifier and TypeMethodDescriptionprivate static boolean
RecipeCollection.allRecipesHaveSameResult
(List<Recipe<?>> p_100509_) void
RecipeBookComponent.recipesShown
(List<Recipe<?>> p_100344_) void
RecipeBookPage.recipesShown
(List<Recipe<?>> p_100435_) void
RecipeShownListener.recipesShown
(List<Recipe<?>> p_100518_) Constructors in net.minecraft.client.gui.screens.recipebook with parameters of type RecipeModifierConstructorDescriptionOverlayRecipeButton
(int p_100232_, int p_100233_, Recipe<?> p_100234_, boolean p_100235_) OverlaySmeltingRecipeButton
(int p_100262_, int p_100263_, Recipe<?> p_100264_, boolean p_100265_) Constructor parameters in net.minecraft.client.gui.screens.recipebook with type arguments of type Recipe -
Uses of Recipe in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type RecipeModifier and TypeMethodDescriptionvoid
MultiPlayerGameMode.handlePlaceRecipe
(int p_105218_, Recipe<?> p_105219_, boolean p_105220_) -
Uses of Recipe in net.minecraft.client.player
Methods in net.minecraft.client.player with parameters of type Recipe -
Uses of Recipe in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return RecipeModifier and TypeMethodDescriptionstatic Recipe<?>
ResourceLocationArgument.getRecipe
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_106995_, String p_106996_) -
Uses of Recipe in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type RecipeMethods in net.minecraft.network.protocol.game with type parameters of type RecipeModifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
voidClientboundUpdateRecipesPacket.toNetwork
(FriendlyByteBuf p_179470_, T p_179471_) Methods in net.minecraft.network.protocol.game that return RecipeModifier and TypeMethodDescriptionstatic Recipe<?>
ClientboundUpdateRecipesPacket.fromNetwork
(FriendlyByteBuf p_133648_) Methods in net.minecraft.network.protocol.game that return types with arguments of type RecipeConstructors in net.minecraft.network.protocol.game with parameters of type RecipeModifierConstructorDescriptionClientboundPlaceGhostRecipePacket
(int p_132647_, Recipe<?> p_132648_) ServerboundPlaceRecipePacket
(int p_134240_, Recipe<?> p_134241_, boolean p_134242_) ServerboundRecipeBookSeenRecipePacket
(Recipe<?> p_134383_) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type Recipe -
Uses of Recipe in net.minecraft.recipebook
Methods in net.minecraft.recipebook with parameters of type RecipeModifier and TypeMethodDescriptionprotected void
ServerPlaceRecipe.handleRecipeClicked
(Recipe<C> p_135441_, boolean p_135442_) default void
PlaceRecipe.placeRecipe
(int p_135409_, int p_135410_, int p_135411_, Recipe<?> p_135412_, Iterator<T> p_135413_, int p_135414_) void
ServerPlaceRecipe.recipeClicked
(ServerPlayer p_135435_, Recipe<C> p_135436_, boolean p_135437_) -
Uses of Recipe in net.minecraft.server.level
Method parameters in net.minecraft.server.level with type arguments of type RecipeModifier and TypeMethodDescriptionint
ServerPlayer.awardRecipes
(Collection<Recipe<?>> p_9129_) int
ServerPlayer.resetRecipes
(Collection<Recipe<?>> p_9195_) -
Uses of Recipe in net.minecraft.stats
Methods in net.minecraft.stats with parameters of type RecipeModifier and TypeMethodDescriptionvoid
void
RecipeBook.addHighlight
(Recipe<?> p_12724_) boolean
void
void
RecipeBook.removeHighlight
(Recipe<?> p_12722_) boolean
RecipeBook.willHighlight
(Recipe<?> p_12718_) Method parameters in net.minecraft.stats with type arguments of type RecipeModifier and TypeMethodDescriptionint
ServerRecipeBook.addRecipes
(Collection<Recipe<?>> p_12792_, ServerPlayer p_12793_) private void
ServerRecipeBook.loadRecipes
(ListTag p_12798_, Consumer<Recipe<?>> p_12799_, RecipeManager p_12800_) int
ServerRecipeBook.removeRecipes
(Collection<Recipe<?>> p_12807_, ServerPlayer p_12808_) -
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_) int
StackedContents.getBiggestCraftableStack
(Recipe<?> p_36472_, int p_36473_, it.unimi.dsi.fastutil.ints.IntList p_36474_) int
StackedContents.getBiggestCraftableStack
(Recipe<?> p_36494_, it.unimi.dsi.fastutil.ints.IntList p_36495_) Method parameters in net.minecraft.world.entity.player with type arguments of type RecipeModifier and TypeMethodDescriptionint
Player.awardRecipes
(Collection<Recipe<?>> p_36213_) int
Player.resetRecipes
(Collection<Recipe<?>> p_36263_) Constructors in net.minecraft.world.entity.player with parameters of type Recipe -
Uses of Recipe in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory declared as RecipeMethods in net.minecraft.world.inventory that return RecipeModifier and TypeMethodDescriptionRecipe<?>
RecipeHolder.getRecipeUsed()
Recipe<?>
ResultContainer.getRecipeUsed()
Methods in net.minecraft.world.inventory with parameters of type RecipeModifier and TypeMethodDescriptionvoid
RecipeBookMenu.handlePlacement
(boolean p_40119_, Recipe<?> p_40120_, ServerPlayer p_40121_) boolean
AbstractFurnaceMenu.recipeMatches
(Recipe<? super Container> p_38980_) boolean
CraftingMenu.recipeMatches
(Recipe<? super CraftingContainer> p_39384_) boolean
InventoryMenu.recipeMatches
(Recipe<? super CraftingContainer> p_39719_) abstract boolean
RecipeBookMenu.recipeMatches
(Recipe<? super C> p_40118_) void
RecipeHolder.setRecipeUsed
(Recipe<?> p_40134_) default boolean
RecipeHolder.setRecipeUsed
(Level p_40136_, ServerPlayer p_40137_, Recipe<?> p_40138_) void
ResultContainer.setRecipeUsed
(Recipe<?> p_40157_) -
Uses of Recipe in net.minecraft.world.item.crafting
Classes in net.minecraft.world.item.crafting with type parameters of type RecipeModifier and TypeInterfaceDescriptioninterface
RecipeSerializer<T extends Recipe<?>>
interface
RecipeType<T extends Recipe<?>>
class
SimpleRecipeSerializer<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
Fields in net.minecraft.world.item.crafting with type parameters of type RecipeModifier and TypeFieldDescriptionprivate Map<ResourceLocation,
Recipe<?>> RecipeManager.byName
private Map<RecipeType<?>,
Map<ResourceLocation, Recipe<?>>> RecipeManager.recipes
Methods in net.minecraft.world.item.crafting with type parameters of type RecipeModifier and TypeMethodDescriptionprivate <C extends Container,
T extends Recipe<C>>
Map<ResourceLocation,Recipe<C>> RecipeManager.byType
(RecipeType<T> p_44055_) RecipeManager.getAllRecipesFor
(RecipeType<T> p_44014_) RecipeManager.getRecipeFor
(RecipeType<T> p_44016_, C p_44017_, Level p_44018_) 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>Methods in net.minecraft.world.item.crafting that return RecipeModifier and TypeMethodDescriptionstatic Recipe<?>
RecipeManager.fromJson
(ResourceLocation p_44046_, com.google.gson.JsonObject p_44047_) Deprecated.Forge: use overload with context.static Recipe<?>
RecipeManager.fromJson
(ResourceLocation p_44046_, com.google.gson.JsonObject p_44047_, ICondition.IContext context) Methods in net.minecraft.world.item.crafting that return types with arguments of type RecipeModifier and TypeMethodDescriptionRecipeManager.byKey
(ResourceLocation p_44044_) private <C extends Container,
T extends Recipe<C>>
Map<ResourceLocation,Recipe<C>> RecipeManager.byType
(RecipeType<T> p_44055_) Collection<Recipe<?>>
RecipeManager.getRecipes()
Methods in net.minecraft.world.item.crafting with parameters of type RecipeModifier and TypeMethodDescriptionMethod parameters in net.minecraft.world.item.crafting with type arguments of type RecipeModifier and TypeMethodDescriptionvoid
RecipeManager.replaceRecipes
(Iterable<Recipe<?>> p_44025_) -
Uses of Recipe in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return RecipeMethods in net.minecraft.world.level.block.entity that return types with arguments of type RecipeModifier and TypeMethodDescriptionAbstractFurnaceBlockEntity.getRecipesToAwardAndPopExperience
(ServerLevel p_154996_, Vec3 p_154997_) Methods in net.minecraft.world.level.block.entity with parameters of type RecipeModifier and TypeMethodDescriptionprivate boolean
AbstractFurnaceBlockEntity.burn
(Recipe<?> p_155027_, NonNullList<ItemStack> p_155028_, int p_155029_) private boolean
AbstractFurnaceBlockEntity.canBurn
(Recipe<?> p_155006_, NonNullList<ItemStack> p_155007_, int p_155008_) void
AbstractFurnaceBlockEntity.setRecipeUsed
(Recipe<?> p_58345_) -
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>> RecipeBookRegistry.FIND_CATEGORIES_FOR_TYPE
Methods in net.minecraftforge.client with parameters of type RecipeModifier and TypeMethodDescriptionstatic RecipeBookCategories
RecipeBookRegistry.findCategories
(RecipeType<?> type, Recipe<?> recipe) Method parameters in net.minecraftforge.client with type arguments of type RecipeModifier and TypeMethodDescriptionstatic void
RecipeBookRegistry.addCategoriesFinder
(RecipeType<?> type, Function<Recipe<?>, RecipeBookCategories> finder) -
Uses of Recipe in net.minecraftforge.common.crafting
Classes in net.minecraftforge.common.crafting with type parameters of type RecipeSubinterfaces 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.Fields in net.minecraftforge.common.crafting with type parameters of type RecipeModifier and TypeFieldDescriptionstatic final RecipeSerializer<Recipe<?>>
ConditionalRecipe.SERIALZIER
-
Uses of Recipe in net.minecraftforge.common.extensions
Classes in net.minecraftforge.common.extensions with type parameters of type Recipe -
Uses of Recipe in net.minecraftforge.debug.recipe.recipebook
Classes in net.minecraftforge.debug.recipe.recipebook that implement RecipeMethods in net.minecraftforge.debug.recipe.recipebook with parameters of type RecipeModifier and TypeMethodDescriptionboolean
RecipeBookTestMenu.recipeMatches
(Recipe<? super RecipeBookExtensionTest.RecipeBookTestContainer> recipe)