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

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_, Recipe<?> p_40120_, ServerPlayer p_40121_)
    • fillCraftSlotsStackedContents

      public abstract void fillCraftSlotsStackedContents(StackedContents p_40117_)
    • clearCraftingContent

      public abstract void clearCraftingContent()
    • recipeMatches

      public abstract boolean recipeMatches(Recipe<? super C> p_40118_)
    • 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_)