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, RecipeBookTestMenu

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_300860_, ServerPlayer p_40121_)
    • beginPlacingRecipe

      protected void beginPlacingRecipe()
    • finishPlacingRecipe

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

      public abstract void fillCraftSlotsStackedContents(StackedContents p_40117_)
    • clearCraftingContent

      public abstract void clearCraftingContent()
    • recipeMatches

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

      public abstract int getResultSlotIndex()
    • getGridWidth

      public abstract int getGridWidth()
    • getGridHeight

      public abstract int getGridHeight()
    • getSize

      public abstract int getSize()
    • getRecipeBookCategories

      public List<RecipeBookCategories> getRecipeBookCategories()
    • getRecipeBookType

      public abstract RecipeBookType getRecipeBookType()
    • shouldMoveToInventory

      public abstract boolean shouldMoveToInventory(int p_150635_)