Class RecipeBookMenu<I extends RecipeInput,R extends Recipe<I>>

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.RecipeBookMenu<I,R>
Direct Known Subclasses:
AbstractFurnaceMenu, CraftingMenu, InventoryMenu

public abstract class RecipeBookMenu<I extends RecipeInput,R extends Recipe<I>> extends AbstractContainerMenu
  • Constructor Details

    • RecipeBookMenu

      public RecipeBookMenu(MenuType<?> p_40115_, int p_40116_)
  • Method Details

    • handlePlacement

      public void handlePlacement(boolean p_40119_, RecipeHolder<?> p_297420_, ServerPlayer p_40121_)
    • beginPlacingRecipe

      protected void beginPlacingRecipe()
    • finishPlacingRecipe

      protected void finishPlacingRecipe(RecipeHolder<R> p_344512_)
    • fillCraftSlotsStackedContents

      public abstract void fillCraftSlotsStackedContents(StackedContents p_40117_)
    • clearCraftingContent

      public abstract void clearCraftingContent()
    • recipeMatches

      public abstract boolean recipeMatches(RecipeHolder<R> p_297792_)
    • getResultSlotIndex

      public abstract int getResultSlotIndex()
    • getGridWidth

      public abstract int getGridWidth()
    • getGridHeight

      public abstract int getGridHeight()
    • getSize

      public abstract int getSize()
    • getRecipeBookType

      public abstract RecipeBookType getRecipeBookType()
    • shouldMoveToInventory

      public abstract boolean shouldMoveToInventory(int p_150635_)
    • getRecipeBookCategories

      public List<RecipeBookCategories> getRecipeBookCategories()