Uses of Interface
net.minecraft.world.item.crafting.Recipe
Package
Description
-
Uses of Recipe in net.minecraft.advancements.critereon
Modifier and TypeMethodDescriptionboolean
void
RecipeUnlockedTrigger.trigger
(ServerPlayer p_63719_, Recipe<?> p_63720_) -
Uses of Recipe in net.minecraft.client
Modifier and TypeMethodDescriptionprivate static Map<RecipeBookCategories,
List<List<Recipe<?>>>> ClientRecipeBook.categorizeAndGroupRecipes
(Iterable<Recipe<?>> p_90643_) Modifier and TypeMethodDescriptionprivate static RecipeBookCategories
ClientRecipeBook.getCategory
(Recipe<?> p_90647_) Modifier 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
Modifier and TypeMethodDescriptionprivate void
static void
RecipeToast.addOrUpdate
(ToastComponent p_94818_, Recipe<?> p_94819_) -
Uses of Recipe in net.minecraft.client.gui.screens.recipebook
Modifier and TypeFieldDescriptionprivate Recipe<?>
RecipeBookPage.lastClickedRecipe
private Recipe<?>
OverlayRecipeComponent.lastRecipeClicked
private Recipe<?>
GhostRecipe.recipe
(package private) final Recipe<?>
OverlayRecipeComponent.OverlayRecipeButton.recipe
Modifier and TypeFieldDescriptionRecipeCollection.craftable
RecipeCollection.fitsDimensions
RecipeCollection.known
RecipeCollection.recipes
Modifier and TypeMethodDescriptionRecipe<?>
RecipeBookPage.getLastClickedRecipe()
Recipe<?>
OverlayRecipeComponent.getLastRecipeClicked()
Recipe<?>
GhostRecipe.getRecipe()
Recipe<?>
RecipeButton.getRecipe()
Modifier and TypeMethodDescriptionRecipeCollection.getDisplayRecipes
(boolean p_100514_) RecipeButton.getOrderedRecipes()
RecipeCollection.getRecipes()
RecipeCollection.getRecipes
(boolean p_100511_) Modifier 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_) Modifier 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_) ModifierConstructorDescriptionOverlayRecipeButton
(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_) -
Uses of Recipe in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
MultiPlayerGameMode.handlePlaceRecipe
(int p_105218_, Recipe<?> p_105219_, boolean p_105220_) -
Uses of Recipe in net.minecraft.client.player
-
Uses of Recipe in net.minecraft.commands.arguments
Modifier 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
Modifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
voidClientboundUpdateRecipesPacket.toNetwork
(FriendlyByteBuf p_179470_, T p_179471_) Modifier and TypeMethodDescriptionstatic Recipe<?>
ClientboundUpdateRecipesPacket.fromNetwork
(FriendlyByteBuf p_133648_) ModifierConstructorDescriptionClientboundPlaceGhostRecipePacket
(int p_132647_, Recipe<?> p_132648_) ServerboundPlaceRecipePacket
(int p_134240_, Recipe<?> p_134241_, boolean p_134242_) ServerboundRecipeBookSeenRecipePacket
(Recipe<?> p_134383_) -
Uses of Recipe in net.minecraft.recipebook
Modifier 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
Modifier and TypeMethodDescriptionint
ServerPlayer.awardRecipes
(Collection<Recipe<?>> p_9129_) int
ServerPlayer.resetRecipes
(Collection<Recipe<?>> p_9195_) -
Uses of Recipe in net.minecraft.stats
Modifier and TypeMethodDescriptionvoid
void
RecipeBook.addHighlight
(Recipe<?> p_12724_) boolean
void
void
RecipeBook.removeHighlight
(Recipe<?> p_12722_) boolean
RecipeBook.willHighlight
(Recipe<?> p_12718_) Modifier 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
Modifier 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_) Modifier and TypeMethodDescriptionint
Player.awardRecipes
(Collection<Recipe<?>> p_36213_) int
Player.resetRecipes
(Collection<Recipe<?>> p_36263_) -
Uses of Recipe in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionRecipe<?>
RecipeHolder.getRecipeUsed()
Recipe<?>
ResultContainer.getRecipeUsed()
Modifier 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
Modifier and TypeInterfaceDescriptioninterface
RecipeSerializer<T extends Recipe<?>>
interface
RecipeType<T extends Recipe<?>>
class
SimpleRecipeSerializer<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
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
Recipe<?>> RecipeManager.byName
private Map<RecipeType<?>,
Map<ResourceLocation, Recipe<?>>> RecipeManager.recipes
Modifier 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>Modifier 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) Modifier 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()
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionvoid
RecipeManager.replaceRecipes
(Iterable<Recipe<?>> p_44025_) -
Uses of Recipe in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionAbstractFurnaceBlockEntity.getRecipesToAwardAndPopExperience
(ServerLevel p_154996_, Vec3 p_154997_) Modifier 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
Modifier and TypeFieldDescriptionprivate static final Map<RecipeType<?>,
Function<Recipe<?>, RecipeBookCategories>> RecipeBookRegistry.FIND_CATEGORIES_FOR_TYPE
Modifier and TypeMethodDescriptionstatic RecipeBookCategories
RecipeBookRegistry.findCategories
(RecipeType<?> type, Recipe<?> recipe) Modifier and TypeMethodDescriptionstatic void
RecipeBookRegistry.addCategoriesFinder
(RecipeType<?> type, Function<Recipe<?>, RecipeBookCategories> finder) -
Uses of Recipe in net.minecraftforge.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 TypeFieldDescriptionstatic final RecipeSerializer<Recipe<?>>
ConditionalRecipe.SERIALZIER
-
Uses of Recipe in net.minecraftforge.common.extensions
-
Uses of Recipe in net.minecraftforge.debug.recipe.recipebook
Modifier and TypeMethodDescriptionboolean
RecipeBookTestMenu.recipeMatches
(Recipe<? super RecipeBookExtensionTest.RecipeBookTestContainer> recipe)