Class RecipeBookMenu<C extends Container>

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

public abstract class RecipeBookMenu<C extends Container> 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_)
    • fillCraftSlotsStackedContents

      public abstract void fillCraftSlotsStackedContents(StackedContents p_40117_)
    • clearCraftingContent

      public abstract void clearCraftingContent()
    • recipeMatches

      public abstract boolean recipeMatches(RecipeHolder<? extends Recipe<C>> 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()