Uses of Record Class
net.minecraft.world.item.crafting.RecipeHolder
Packages that use RecipeHolder
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
- 
Uses of RecipeHolder in net.minecraft.advancements.critereonMethods in net.minecraft.advancements.critereon with parameters of type RecipeHolderModifier and TypeMethodDescriptionbooleanRecipeUnlockedTrigger.TriggerInstance.matches(RecipeHolder<?> p_301295_) voidRecipeUnlockedTrigger.trigger(ServerPlayer p_63719_, RecipeHolder<?> p_301160_) 
- 
Uses of RecipeHolder in net.minecraft.clientMethods in net.minecraft.client that return types with arguments of type RecipeHolderModifier and TypeMethodDescriptionprivate static Map<RecipeBookCategories,List<List<RecipeHolder<?>>>> ClientRecipeBook.categorizeAndGroupRecipes(Iterable<RecipeHolder<?>> p_90643_) Methods in net.minecraft.client with parameters of type RecipeHolderModifier and TypeMethodDescriptionprivate static RecipeBookCategoriesClientRecipeBook.getCategory(RecipeHolder<?> p_301136_) Method parameters in net.minecraft.client with type arguments of type RecipeHolderModifier and TypeMethodDescriptionprivate static Map<RecipeBookCategories,List<List<RecipeHolder<?>>>> ClientRecipeBook.categorizeAndGroupRecipes(Iterable<RecipeHolder<?>> p_90643_) voidClientRecipeBook.setupCollections(Iterable<RecipeHolder<?>> p_266814_, RegistryAccess p_266878_) 
- 
Uses of RecipeHolder in net.minecraft.client.gui.components.toastsFields in net.minecraft.client.gui.components.toasts with type parameters of type RecipeHolderMethods in net.minecraft.client.gui.components.toasts with parameters of type RecipeHolderModifier and TypeMethodDescriptionprivate voidRecipeToast.addItem(RecipeHolder<?> p_301083_) static voidRecipeToast.addOrUpdate(ToastComponent p_94818_, RecipeHolder<?> p_301027_) Constructors in net.minecraft.client.gui.components.toasts with parameters of type RecipeHolder
- 
Uses of RecipeHolder in net.minecraft.client.gui.screens.recipebookFields in net.minecraft.client.gui.screens.recipebook declared as RecipeHolderModifier and TypeFieldDescriptionprivate RecipeHolder<?>RecipeBookPage.lastClickedRecipeprivate RecipeHolder<?>OverlayRecipeComponent.lastRecipeClickedprivate RecipeHolder<?>GhostRecipe.recipe(package private) final RecipeHolder<?>OverlayRecipeComponent.OverlayRecipeButton.recipeFields in net.minecraft.client.gui.screens.recipebook with type parameters of type RecipeHolderModifier and TypeFieldDescriptionprivate final Set<RecipeHolder<?>>RecipeCollection.craftableprivate final Set<RecipeHolder<?>>RecipeCollection.fitsDimensionsprivate final Set<RecipeHolder<?>>RecipeCollection.knownprivate final List<RecipeHolder<?>>RecipeCollection.recipesMethods in net.minecraft.client.gui.screens.recipebook that return RecipeHolderModifier and TypeMethodDescriptionRecipeHolder<?>RecipeBookPage.getLastClickedRecipe()RecipeHolder<?>OverlayRecipeComponent.getLastRecipeClicked()RecipeHolder<?>GhostRecipe.getRecipe()RecipeHolder<?>RecipeButton.getRecipe()Methods in net.minecraft.client.gui.screens.recipebook that return types with arguments of type RecipeHolderModifier and TypeMethodDescriptionList<RecipeHolder<?>>RecipeCollection.getDisplayRecipes(boolean p_100514_) private List<RecipeHolder<?>>RecipeButton.getOrderedRecipes()List<RecipeHolder<?>>RecipeCollection.getRecipes()List<RecipeHolder<?>>RecipeCollection.getRecipes(boolean p_100511_) Methods in net.minecraft.client.gui.screens.recipebook with parameters of type RecipeHolderModifier and TypeMethodDescriptionprotected voidOverlayRecipeComponent.OverlayRecipeButton.calculateIngredientsPositions(RecipeHolder<?> p_301128_) protected voidOverlayRecipeComponent.OverlaySmeltingRecipeButton.calculateIngredientsPositions(RecipeHolder<?> p_301196_) booleanRecipeCollection.isCraftable(RecipeHolder<?> p_301167_) voidGhostRecipe.setRecipe(RecipeHolder<?> p_300899_) voidAbstractFurnaceRecipeBookComponent.setupGhostRecipe(RecipeHolder<?> p_301099_, List<Slot> p_100123_) voidRecipeBookComponent.setupGhostRecipe(RecipeHolder<?> p_301197_, List<Slot> p_100317_) Method parameters in net.minecraft.client.gui.screens.recipebook with type arguments of type RecipeHolderModifier and TypeMethodDescriptionprivate static booleanRecipeCollection.allRecipesHaveSameResult(RegistryAccess p_267210_, List<RecipeHolder<?>> p_100509_) voidRecipeBookComponent.recipesShown(List<RecipeHolder<?>> p_100344_) voidRecipeBookPage.recipesShown(List<RecipeHolder<?>> p_100435_) voidRecipeShownListener.recipesShown(List<RecipeHolder<?>> p_100518_) Constructors in net.minecraft.client.gui.screens.recipebook with parameters of type RecipeHolderModifierConstructorDescriptionOverlayRecipeButton(int p_100232_, int p_100233_, RecipeHolder<?> p_301240_, boolean p_100235_) OverlaySmeltingRecipeButton(int p_100262_, int p_100263_, RecipeHolder<?> p_301104_, boolean p_100265_) Constructor parameters in net.minecraft.client.gui.screens.recipebook with type arguments of type RecipeHolderModifierConstructorDescriptionRecipeCollection(RegistryAccess p_266782_, List<RecipeHolder<?>> p_267051_) 
- 
Uses of RecipeHolder in net.minecraft.client.multiplayerMethods in net.minecraft.client.multiplayer with parameters of type RecipeHolderModifier and TypeMethodDescriptionvoidMultiPlayerGameMode.handlePlaceRecipe(int p_105218_, RecipeHolder<?> p_301105_, boolean p_105220_) 
- 
Uses of RecipeHolder in net.minecraft.client.playerMethods in net.minecraft.client.player with parameters of type RecipeHolderModifier and TypeMethodDescriptionvoidLocalPlayer.removeRecipeHighlight(RecipeHolder<?> p_300983_) 
- 
Uses of RecipeHolder in net.minecraft.commands.argumentsMethods in net.minecraft.commands.arguments that return RecipeHolderModifier and TypeMethodDescriptionstatic RecipeHolder<?>ResourceLocationArgument.getRecipe(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_106995_, String p_106996_) 
- 
Uses of RecipeHolder in net.minecraft.network.protocol.gameFields in net.minecraft.network.protocol.game with type parameters of type RecipeHolderModifier and TypeFieldDescriptionprivate final List<RecipeHolder<?>>ClientboundUpdateRecipesPacket.recipesMethods in net.minecraft.network.protocol.game that return RecipeHolderModifier and TypeMethodDescriptionprivate static RecipeHolder<?>ClientboundUpdateRecipesPacket.fromNetwork(FriendlyByteBuf p_133648_) Methods in net.minecraft.network.protocol.game that return types with arguments of type RecipeHolderModifier and TypeMethodDescriptionList<RecipeHolder<?>>ClientboundUpdateRecipesPacket.getRecipes()Methods in net.minecraft.network.protocol.game with parameters of type RecipeHolderModifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
 voidClientboundUpdateRecipesPacket.toNetwork(FriendlyByteBuf p_179470_, RecipeHolder<?> p_301050_) Constructors in net.minecraft.network.protocol.game with parameters of type RecipeHolderModifierConstructorDescriptionClientboundPlaceGhostRecipePacket(int p_132647_, RecipeHolder<?> p_301206_) ServerboundPlaceRecipePacket(int p_134240_, RecipeHolder<?> p_300889_, boolean p_134242_) ServerboundRecipeBookSeenRecipePacket(RecipeHolder<?> p_301152_) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type RecipeHolderModifierConstructorDescriptionClientboundUpdateRecipesPacket(Collection<RecipeHolder<?>> p_133632_) 
- 
Uses of RecipeHolder in net.minecraft.recipebookMethods in net.minecraft.recipebook with parameters of type RecipeHolderModifier and TypeMethodDescriptionprotected voidServerPlaceRecipe.handleRecipeClicked(RecipeHolder<? extends Recipe<C>> p_301187_, boolean p_135442_) default voidPlaceRecipe.placeRecipe(int p_135409_, int p_135410_, int p_135411_, RecipeHolder<?> p_301225_, Iterator<T> p_135413_, int p_135414_) voidServerPlaceRecipe.recipeClicked(ServerPlayer p_135435_, RecipeHolder<? extends Recipe<C>> p_301150_, boolean p_135437_) 
- 
Uses of RecipeHolder in net.minecraft.server.levelMethods in net.minecraft.server.level with parameters of type RecipeHolderModifier and TypeMethodDescriptionvoidServerPlayer.triggerRecipeCrafted(RecipeHolder<?> p_301156_, List<ItemStack> p_282336_) Method parameters in net.minecraft.server.level with type arguments of type RecipeHolderModifier and TypeMethodDescriptionintServerPlayer.awardRecipes(Collection<RecipeHolder<?>> p_9129_) intServerPlayer.resetRecipes(Collection<RecipeHolder<?>> p_9195_) 
- 
Uses of RecipeHolder in net.minecraft.statsMethods in net.minecraft.stats with parameters of type RecipeHolderModifier and TypeMethodDescriptionvoidRecipeBook.add(RecipeHolder<?> p_300937_) voidRecipeBook.addHighlight(RecipeHolder<?> p_300907_) booleanRecipeBook.contains(RecipeHolder<?> p_300981_) voidRecipeBook.remove(RecipeHolder<?> p_301170_) voidRecipeBook.removeHighlight(RecipeHolder<?> p_300963_) booleanRecipeBook.willHighlight(RecipeHolder<?> p_300856_) Method parameters in net.minecraft.stats with type arguments of type RecipeHolderModifier and TypeMethodDescriptionintServerRecipeBook.addRecipes(Collection<RecipeHolder<?>> p_12792_, ServerPlayer p_12793_) private voidServerRecipeBook.loadRecipes(ListTag p_12798_, Consumer<RecipeHolder<?>> p_12799_, RecipeManager p_12800_) intServerRecipeBook.removeRecipes(Collection<RecipeHolder<?>> p_12807_, ServerPlayer p_12808_) 
- 
Uses of RecipeHolder in net.minecraft.world.entity.playerMethods in net.minecraft.world.entity.player with parameters of type RecipeHolderModifier and TypeMethodDescriptionintStackedContents.getBiggestCraftableStack(RecipeHolder<?> p_300888_, int p_300980_, it.unimi.dsi.fastutil.ints.IntList p_36495_) intStackedContents.getBiggestCraftableStack(RecipeHolder<?> p_301005_, it.unimi.dsi.fastutil.ints.IntList p_36474_) voidPlayer.triggerRecipeCrafted(RecipeHolder<?> p_301080_, List<ItemStack> p_283609_) Method parameters in net.minecraft.world.entity.player with type arguments of type RecipeHolderModifier and TypeMethodDescriptionintPlayer.awardRecipes(Collection<RecipeHolder<?>> p_36213_) intPlayer.resetRecipes(Collection<RecipeHolder<?>> p_36263_) 
- 
Uses of RecipeHolder in net.minecraft.world.inventoryFields in net.minecraft.world.inventory declared as RecipeHolderModifier and TypeFieldDescriptionprivate RecipeHolder<?>ResultContainer.recipeUsedprivate RecipeHolder<SmithingRecipe>SmithingMenu.selectedRecipeFields in net.minecraft.world.inventory with type parameters of type RecipeHolderModifier and TypeFieldDescriptionprivate final List<RecipeHolder<SmithingRecipe>>SmithingMenu.recipesprivate List<RecipeHolder<StonecutterRecipe>>StonecutterMenu.recipesMethods in net.minecraft.world.inventory that return RecipeHolderModifier and TypeMethodDescriptionRecipeHolder<?>RecipeCraftingHolder.getRecipeUsed()RecipeHolder<?>ResultContainer.getRecipeUsed()Methods in net.minecraft.world.inventory that return types with arguments of type RecipeHolderMethods in net.minecraft.world.inventory with parameters of type RecipeHolderModifier and TypeMethodDescriptionvoidRecipeBookMenu.handlePlacement(boolean p_40119_, RecipeHolder<?> p_300860_, ServerPlayer p_40121_) booleanAbstractFurnaceMenu.recipeMatches(RecipeHolder<? extends Recipe<Container>> p_300882_) booleanCraftingMenu.recipeMatches(RecipeHolder<? extends Recipe<CraftingContainer>> p_300858_) booleanInventoryMenu.recipeMatches(RecipeHolder<? extends Recipe<CraftingContainer>> p_300901_) abstract booleanRecipeBookMenu.recipeMatches(RecipeHolder<? extends Recipe<C>> p_301144_) voidRecipeCraftingHolder.setRecipeUsed(RecipeHolder<?> p_300902_) default booleanRecipeCraftingHolder.setRecipeUsed(Level p_300930_, ServerPlayer p_301242_, RecipeHolder<?> p_301296_) voidResultContainer.setRecipeUsed(RecipeHolder<?> p_301012_) 
- 
Uses of RecipeHolder in net.minecraft.world.item.craftingFields in net.minecraft.world.item.crafting with type parameters of type RecipeHolderModifier and TypeFieldDescriptionprivate Map<ResourceLocation,RecipeHolder<?>> RecipeManager.byNameprivate Map<RecipeType<?>,Map<ResourceLocation, RecipeHolder<?>>> RecipeManager.recipesMethods in net.minecraft.world.item.crafting that return RecipeHolderModifier and TypeMethodDescriptionprotected static RecipeHolder<?>RecipeManager.fromJson(ResourceLocation p_44046_, com.google.gson.JsonObject p_44047_) Deprecated.Forge: use overload with context.Methods in net.minecraft.world.item.crafting that return types with arguments of type RecipeHolderModifier and TypeMethodDescriptionOptional<RecipeHolder<?>>RecipeManager.byKey(ResourceLocation p_44044_) private <C extends Container,T extends Recipe<C>> 
 Map<ResourceLocation,RecipeHolder<T>> RecipeManager.byType(RecipeType<T> p_44055_) static Optional<RecipeHolder<?>>RecipeManager.fromJson(ResourceLocation p_44046_, com.google.gson.JsonObject p_44047_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> jsonElementOps) <C extends Container,T extends Recipe<C>> 
 List<RecipeHolder<T>>RecipeManager.getAllRecipesFor(RecipeType<T> p_44014_) RecipeManager.CachedCheck.getRecipeFor(C p_220280_, Level p_220281_) <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_) RecipeManager.getRecipes()<C extends Container,T extends Recipe<C>> 
 List<RecipeHolder<T>>RecipeManager.getRecipesFor(RecipeType<T> p_44057_, C p_44058_, Level p_44059_) Method parameters in net.minecraft.world.item.crafting with type arguments of type RecipeHolderModifier and TypeMethodDescriptionvoidRecipeManager.replaceRecipes(Iterable<RecipeHolder<?>> p_44025_) 
- 
Uses of RecipeHolder in net.minecraft.world.level.block.entityMethods in net.minecraft.world.level.block.entity that return RecipeHolderMethods in net.minecraft.world.level.block.entity that return types with arguments of type RecipeHolderModifier and TypeMethodDescriptionCampfireBlockEntity.getCookableRecipe(ItemStack p_59052_) List<RecipeHolder<?>>AbstractFurnaceBlockEntity.getRecipesToAwardAndPopExperience(ServerLevel p_154996_, Vec3 p_154997_) Methods in net.minecraft.world.level.block.entity with parameters of type RecipeHolderModifier and TypeMethodDescriptionprivate booleanAbstractFurnaceBlockEntity.burn(RegistryAccess p_266740_, RecipeHolder<?> p_300910_, NonNullList<ItemStack> p_267073_, int p_267157_) private booleanAbstractFurnaceBlockEntity.canBurn(RegistryAccess p_266924_, RecipeHolder<?> p_301107_, NonNullList<ItemStack> p_155007_, int p_155008_) voidAbstractFurnaceBlockEntity.setRecipeUsed(RecipeHolder<?> p_301245_) 
- 
Uses of RecipeHolder in net.neoforged.neoforge.clientFields in net.neoforged.neoforge.client with type parameters of type RecipeHolderModifier and TypeFieldDescriptionprivate static final Map<RecipeType<?>,Function<RecipeHolder<?>, RecipeBookCategories>> RecipeBookManager.RECIPE_CATEGORY_LOOKUPSMethods in net.neoforged.neoforge.client with parameters of type RecipeHolderModifier 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 RecipeHolder in net.neoforged.neoforge.client.eventFields in net.neoforged.neoforge.client.event with type parameters of type RecipeHolderModifier and TypeFieldDescriptionprivate final Map<RecipeType<?>,Function<RecipeHolder<?>, RecipeBookCategories>> RegisterRecipeBookCategoriesEvent.recipeCategoryLookupsMethod parameters in net.neoforged.neoforge.client.event with type arguments of type RecipeHolderModifier and TypeMethodDescriptionvoidRegisterRecipeBookCategoriesEvent.registerRecipeCategoryFinder(RecipeType<?> type, Function<RecipeHolder<?>, RecipeBookCategories> lookup) Registers a category lookup for a certain recipe type.
- 
Uses of RecipeHolder in net.neoforged.neoforge.oldtest.recipebookMethods in net.neoforged.neoforge.oldtest.recipebook with parameters of type RecipeHolderModifier and TypeMethodDescriptionbooleanRecipeBookTestMenu.recipeMatches(RecipeHolder<? extends Recipe<RecipeBookExtensionTest.RecipeBookTestContainer>> recipeHolder)