Uses of Record Class
net.minecraft.world.item.crafting.RecipeHolder
Packages that use RecipeHolder
Package
Description
-
Uses of RecipeHolder in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type RecipeHolderModifier and TypeMethodDescriptionbooleanRecipeUnlockedTrigger.TriggerInstance.matches(RecipeHolder<?> p_299959_) voidRecipeUnlockedTrigger.trigger(ServerPlayer p_63719_, RecipeHolder<?> p_300165_) -
Uses of RecipeHolder in net.minecraft.client
Methods 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_299041_) 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.toasts
Fields 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_297895_) static voidRecipeToast.addOrUpdate(ToastComponent p_94818_, RecipeHolder<?> p_300003_) Constructors in net.minecraft.client.gui.components.toasts with parameters of type RecipeHolder -
Uses of RecipeHolder in net.minecraft.client.gui.screens.recipebook
Fields 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_301077_) protected voidOverlayRecipeComponent.OverlaySmeltingRecipeButton.calculateIngredientsPositions(RecipeHolder<?> p_301296_) booleanRecipeCollection.isCraftable(RecipeHolder<?> p_301083_) voidGhostRecipe.setRecipe(RecipeHolder<?> p_299927_) voidAbstractFurnaceRecipeBookComponent.setupGhostRecipe(RecipeHolder<?> p_297434_, List<Slot> p_100123_) voidRecipeBookComponent.setupGhostRecipe(RecipeHolder<?> p_299607_, 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_301354_, boolean p_100235_) OverlaySmeltingRecipeButton(int p_100262_, int p_100263_, RecipeHolder<?> p_299173_, 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.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type RecipeHolderModifier and TypeMethodDescriptionvoidMultiPlayerGameMode.handlePlaceRecipe(int p_105218_, RecipeHolder<?> p_300726_, boolean p_105220_) -
Uses of RecipeHolder in net.minecraft.client.player
Methods in net.minecraft.client.player with parameters of type RecipeHolderModifier and TypeMethodDescriptionvoidLocalPlayer.removeRecipeHighlight(RecipeHolder<?> p_299313_) -
Uses of RecipeHolder in net.minecraft.commands.arguments
Methods 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.game
Fields 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_297340_) Constructors in net.minecraft.network.protocol.game with parameters of type RecipeHolderModifierConstructorDescriptionClientboundPlaceGhostRecipePacket(int p_132647_, RecipeHolder<?> p_297839_) ServerboundPlaceRecipePacket(int p_134240_, RecipeHolder<?> p_300428_, boolean p_134242_) ServerboundRecipeBookSeenRecipePacket(RecipeHolder<?> p_298515_) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type RecipeHolderModifierConstructorDescriptionClientboundUpdateRecipesPacket(Collection<RecipeHolder<?>> p_133632_) -
Uses of RecipeHolder in net.minecraft.recipebook
Methods in net.minecraft.recipebook with parameters of type RecipeHolderModifier and TypeMethodDescriptionprotected voidServerPlaceRecipe.handleRecipeClicked(RecipeHolder<? extends Recipe<C>> p_298652_, boolean p_135442_) default voidPlaceRecipe.placeRecipe(int p_135409_, int p_135410_, int p_135411_, RecipeHolder<?> p_298822_, Iterator<T> p_135413_, int p_135414_) voidServerPlaceRecipe.recipeClicked(ServerPlayer p_135435_, RecipeHolder<? extends Recipe<C>> p_298963_, boolean p_135437_) -
Uses of RecipeHolder in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type RecipeHolderModifier and TypeMethodDescriptionvoidServerPlayer.triggerRecipeCrafted(RecipeHolder<?> p_299743_, 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.stats
Methods in net.minecraft.stats with parameters of type RecipeHolderModifier and TypeMethodDescriptionvoidRecipeBook.add(RecipeHolder<?> p_301033_) voidRecipeBook.addHighlight(RecipeHolder<?> p_300059_) booleanRecipeBook.contains(RecipeHolder<?> p_298018_) voidRecipeBook.remove(RecipeHolder<?> p_301343_) voidRecipeBook.removeHighlight(RecipeHolder<?> p_298729_) booleanRecipeBook.willHighlight(RecipeHolder<?> p_300661_) 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.player
Methods in net.minecraft.world.entity.player with parameters of type RecipeHolderModifier and TypeMethodDescriptionintStackedContents.getBiggestCraftableStack(RecipeHolder<?> p_299486_, int p_36473_, it.unimi.dsi.fastutil.ints.IntList p_36474_) intStackedContents.getBiggestCraftableStack(RecipeHolder<?> p_301008_, it.unimi.dsi.fastutil.ints.IntList p_36495_) voidPlayer.triggerRecipeCrafted(RecipeHolder<?> p_298309_, 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.inventory
Fields 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_297420_, ServerPlayer p_40121_) booleanAbstractFurnaceMenu.recipeMatches(RecipeHolder<? extends Recipe<Container>> p_297720_) booleanCraftingMenu.recipeMatches(RecipeHolder<? extends Recipe<CraftingContainer>> p_300381_) booleanInventoryMenu.recipeMatches(RecipeHolder<? extends Recipe<CraftingContainer>> p_299815_) abstract booleanRecipeBookMenu.recipeMatches(RecipeHolder<? extends Recipe<C>> p_297792_) voidRecipeCraftingHolder.setRecipeUsed(RecipeHolder<?> p_297397_) default booleanRecipeCraftingHolder.setRecipeUsed(Level p_298867_, ServerPlayer p_301009_, RecipeHolder<?> p_301264_) voidResultContainer.setRecipeUsed(RecipeHolder<?> p_297508_) -
Uses of RecipeHolder in net.minecraft.world.item.crafting
Fields 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_) 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_) <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.entity
Methods 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_299450_, NonNullList<ItemStack> p_267073_, int p_267157_) private booleanAbstractFurnaceBlockEntity.canBurn(RegistryAccess p_266924_, RecipeHolder<?> p_299207_, NonNullList<ItemStack> p_155007_, int p_155008_) voidAbstractFurnaceBlockEntity.setRecipeUsed(RecipeHolder<?> p_297739_) -
Uses of RecipeHolder in net.minecraftforge.client
Methods in net.minecraftforge.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.