Uses of Interface
net.minecraft.item.crafting.IRecipe
Package
Description
-
Uses of IRecipe in net.minecraft.advancements.criterion
Modifier and TypeMethodDescriptionboolean
void
RecipeUnlockedTrigger.trigger
(ServerPlayerEntity p_192225_1_, IRecipe<?> p_192225_2_) -
Uses of IRecipe in net.minecraft.client.entity.player
Modifier and TypeMethodDescriptionvoid
ClientPlayerEntity.removeRecipeHighlight
(IRecipe<?> p_193103_1_) -
Uses of IRecipe in net.minecraft.client.gui.recipebook
Modifier and TypeFieldDescriptionprivate IRecipe<?>
RecipeBookPage.lastClickedRecipe
private IRecipe<?>
RecipeOverlayGui.lastRecipeClicked
private IRecipe<?>
GhostRecipe.recipe
private final IRecipe<?>
RecipeOverlayGui.RecipeButtonWidget.recipe
Modifier and TypeFieldDescriptionRecipeList.craftable
RecipeList.fitsDimensions
RecipeList.known
RecipeList.recipes
Modifier and TypeMethodDescriptionIRecipe<?>
RecipeBookPage.getLastClickedRecipe()
IRecipe<?>
RecipeOverlayGui.getLastRecipeClicked()
IRecipe<?>
GhostRecipe.getRecipe()
IRecipe<?>
RecipeWidget.getRecipe()
Modifier and TypeMethodDescriptionRecipeList.getDisplayRecipes
(boolean p_194207_1_) RecipeWidget.getOrderedRecipes()
RecipeList.getRecipes()
RecipeList.getRecipes
(boolean p_194208_1_) Modifier and TypeMethodDescriptionprotected void
RecipeOverlayGui.FurnaceRecipeButtonWidget.calculateIngredientsPositions
(IRecipe<?> p_201505_1_) protected void
RecipeOverlayGui.RecipeButtonWidget.calculateIngredientsPositions
(IRecipe<?> p_201505_1_) boolean
RecipeList.isCraftable
(IRecipe<?> p_194213_1_) void
void
AbstractRecipeBookGui.setupGhostRecipe
(IRecipe<?> p_193951_1_, List<Slot> p_193951_2_) void
RecipeBookGui.setupGhostRecipe
(IRecipe<?> p_193951_1_, List<Slot> p_193951_2_) Modifier and TypeMethodDescriptionprivate static boolean
RecipeList.allRecipesHaveSameResult
(List<IRecipe<?>> p_243413_0_) void
IRecipeUpdateListener.recipesShown
(List<IRecipe<?>> p_193001_1_) void
RecipeBookGui.recipesShown
(List<IRecipe<?>> p_193001_1_) void
RecipeBookPage.recipesShown
(List<IRecipe<?>> p_194195_1_) ModifierConstructorDescriptionFurnaceRecipeButtonWidget
(int p_i48747_2_, int p_i48747_3_, IRecipe<?> p_i48747_4_, boolean p_i48747_5_) RecipeButtonWidget
(int p_i47594_2_, int p_i47594_3_, IRecipe<?> p_i47594_4_, boolean p_i47594_5_) -
Uses of IRecipe in net.minecraft.client.gui.toasts
Modifier and TypeMethodDescriptionprivate void
static void
RecipeToast.addOrUpdate
(ToastGui p_193665_0_, IRecipe<?> p_193665_1_) -
Uses of IRecipe in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
PlayerController.handlePlaceRecipe
(int p_203413_1_, IRecipe<?> p_203413_2_, boolean p_203413_3_) -
Uses of IRecipe in net.minecraft.client.util
Modifier and TypeMethodDescriptionprivate static Map<RecipeBookCategories,
List<List<IRecipe<?>>>> ClientRecipeBook.categorizeAndGroupRecipes
(Iterable<IRecipe<?>> p_243201_0_) Modifier and TypeMethodDescriptionprivate static RecipeBookCategories
ClientRecipeBook.getCategory
(IRecipe<?> p_202887_0_) Modifier and TypeMethodDescriptionprivate static Map<RecipeBookCategories,
List<List<IRecipe<?>>>> ClientRecipeBook.categorizeAndGroupRecipes
(Iterable<IRecipe<?>> p_243201_0_) void
ClientRecipeBook.setupCollections
(Iterable<IRecipe<?>> p_243196_1_) -
Uses of IRecipe in net.minecraft.command.arguments
Modifier and TypeMethodDescriptionstatic IRecipe<?>
ResourceLocationArgument.getRecipe
(com.mojang.brigadier.context.CommandContext<CommandSource> p_197194_0_, String p_197194_1_) -
Uses of IRecipe in net.minecraft.entity.player
Modifier and TypeMethodDescriptionint
PlayerEntity.awardRecipes
(Collection<IRecipe<?>> p_195065_1_) int
ServerPlayerEntity.awardRecipes
(Collection<IRecipe<?>> p_195065_1_) int
PlayerEntity.resetRecipes
(Collection<IRecipe<?>> p_195069_1_) int
ServerPlayerEntity.resetRecipes
(Collection<IRecipe<?>> p_195069_1_) -
Uses of IRecipe in net.minecraft.inventory
Modifier and TypeMethodDescriptionIRecipe<?>
CraftResultInventory.getRecipeUsed()
IRecipe<?>
IRecipeHolder.getRecipeUsed()
Modifier and TypeMethodDescriptionvoid
CraftResultInventory.setRecipeUsed
(IRecipe<?> p_193056_1_) void
IRecipeHolder.setRecipeUsed
(IRecipe<?> p_193056_1_) default boolean
IRecipeHolder.setRecipeUsed
(World p_201561_1_, ServerPlayerEntity p_201561_2_, IRecipe<?> p_201561_3_) -
Uses of IRecipe in net.minecraft.inventory.container
Modifier and TypeMethodDescriptionvoid
AbstractFurnaceContainer.handlePlacement
(boolean p_217056_1_, IRecipe<?> p_217056_2_, ServerPlayerEntity p_217056_3_) void
RecipeBookContainer.handlePlacement
(boolean p_217056_1_, IRecipe<?> p_217056_2_, ServerPlayerEntity p_217056_3_) boolean
AbstractFurnaceContainer.recipeMatches
(IRecipe<? super IInventory> p_201769_1_) boolean
PlayerContainer.recipeMatches
(IRecipe<? super CraftingInventory> p_201769_1_) abstract boolean
RecipeBookContainer.recipeMatches
(IRecipe<? super C> p_201769_1_) boolean
WorkbenchContainer.recipeMatches
(IRecipe<? super CraftingInventory> p_201769_1_) -
Uses of IRecipe in net.minecraft.item.crafting
Modifier and TypeInterfaceDescriptioninterface
IRecipeSerializer<T extends IRecipe<?>>
interface
IRecipeType<T extends IRecipe<?>>
class
SpecialRecipeSerializer<T extends IRecipe<?>>
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<IRecipeType<?>,
Map<ResourceLocation, IRecipe<?>>> RecipeManager.recipes
Modifier and TypeMethodDescriptionprivate <C extends IInventory,
T extends IRecipe<C>>
Map<ResourceLocation,IRecipe<C>> RecipeManager.byType
(IRecipeType<T> p_215366_1_) <C extends IInventory,
T extends IRecipe<C>>
List<T>RecipeManager.getAllRecipesFor
(IRecipeType<T> p_241447_1_) <C extends IInventory,
T extends IRecipe<C>>
Optional<T>RecipeManager.getRecipeFor
(IRecipeType<T> p_215371_1_, C p_215371_2_, World p_215371_3_) <C extends IInventory,
T extends IRecipe<C>>
List<T>RecipeManager.getRecipesFor
(IRecipeType<T> p_215370_1_, C p_215370_2_, World p_215370_3_) <C extends IInventory,
T extends IRecipe<C>>
NonNullList<ItemStack>RecipeManager.getRemainingItemsFor
(IRecipeType<T> p_215369_1_, C p_215369_2_, World p_215369_3_) static <S extends IRecipeSerializer<T>,
T extends IRecipe<?>>
Sstatic <T extends IRecipe<?>>
IRecipeType<T>Modifier and TypeMethodDescriptionstatic IRecipe<?>
RecipeManager.fromJson
(ResourceLocation p_215377_0_, com.google.gson.JsonObject p_215377_1_) Modifier and TypeMethodDescriptionRecipeManager.byKey
(ResourceLocation p_215367_1_) private <C extends IInventory,
T extends IRecipe<C>>
Map<ResourceLocation,IRecipe<C>> RecipeManager.byType
(IRecipeType<T> p_215366_1_) Collection<IRecipe<?>>
RecipeManager.getRecipes()
Modifier and TypeMethodDescriptionvoid
void
RecipeBook.addHighlight
(IRecipe<?> p_193825_1_) boolean
boolean
RecipeItemHelper.canCraft
(IRecipe<?> p_194118_1_, it.unimi.dsi.fastutil.ints.IntList p_194118_2_, int p_194118_3_) boolean
int
RecipeItemHelper.getBiggestCraftableStack
(IRecipe<?> p_194121_1_, int p_194121_2_, it.unimi.dsi.fastutil.ints.IntList p_194121_3_) int
RecipeItemHelper.getBiggestCraftableStack
(IRecipe<?> p_194114_1_, it.unimi.dsi.fastutil.ints.IntList p_194114_2_) protected void
ServerRecipePlacer.handleRecipeClicked
(IRecipe<C> p_201508_1_, boolean p_201508_2_) protected void
ServerRecipePlacerFurnace.handleRecipeClicked
(IRecipe<C> p_201508_1_, boolean p_201508_2_) default void
IRecipePlacer.placeRecipe
(int p_201501_1_, int p_201501_2_, int p_201501_3_, IRecipe<?> p_201501_4_, Iterator<T> p_201501_5_, int p_201501_6_) void
ServerRecipePlacer.recipeClicked
(ServerPlayerEntity p_194327_1_, IRecipe<C> p_194327_2_, boolean p_194327_3_) void
void
RecipeBook.removeHighlight
(IRecipe<?> p_194074_1_) default <C extends IInventory>
Optional<T>boolean
RecipeBook.willHighlight
(IRecipe<?> p_194076_1_) Modifier and TypeMethodDescriptionint
ServerRecipeBook.addRecipes
(Collection<IRecipe<?>> p_197926_1_, ServerPlayerEntity p_197926_2_) private void
ServerRecipeBook.loadRecipes
(ListNBT p_223417_1_, Consumer<IRecipe<?>> p_223417_2_, RecipeManager p_223417_3_) int
ServerRecipeBook.removeRecipes
(Collection<IRecipe<?>> p_197925_1_, ServerPlayerEntity p_197925_2_) void
RecipeManager.replaceRecipes
(Iterable<IRecipe<?>> p_223389_1_) -
Uses of IRecipe in net.minecraft.network.play.client
ModifierConstructorDescriptionCMarkRecipeSeenPacket
(IRecipe<?> p_i242089_1_) CPlaceRecipePacket
(int p_i47614_1_, IRecipe<?> p_i47614_2_, boolean p_i47614_3_) -
Uses of IRecipe in net.minecraft.network.play.server
Modifier and TypeMethodDescriptionstatic <T extends IRecipe<?>>
voidSUpdateRecipesPacket.toNetwork
(T p_218771_0_, PacketBuffer p_218771_1_) Modifier and TypeMethodDescriptionstatic IRecipe<?>
SUpdateRecipesPacket.fromNetwork
(PacketBuffer p_218772_0_) -
Uses of IRecipe in net.minecraft.tileentity
Modifier and TypeMethodDescriptionAbstractFurnaceTileEntity.getRecipesToAwardAndPopExperience
(World p_235640_1_, Vector3d p_235640_2_) -
Uses of IRecipe in net.minecraftforge.common.crafting
Modifier and TypeInterfaceDescriptioninterface
IShapedRecipe<T extends IInventory>
Used to mark a recipe that shape matters so that the recipe book and auto crafting picks the correct shape.Modifier and TypeFieldDescriptionstatic final IRecipeSerializer<IRecipe<?>>
ConditionalRecipe.SERIALZIER