Class BlockMenu

All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder

public class BlockMenu extends DirtyChestMenu
  • Constructor Details

    • BlockMenu

      public BlockMenu(BlockMenuPreset preset, org.bukkit.Location l)
    • BlockMenu

      @Deprecated public BlockMenu(BlockMenuPreset preset, org.bukkit.Location l, io.github.bakedlibs.dough.config.Config cfg)
      Deprecated.
    • BlockMenu

      public BlockMenu(BlockMenuPreset preset, org.bukkit.Location l, org.bukkit.inventory.ItemStack[] contents)
    • BlockMenu

      public BlockMenu(BlockMenuPreset preset, org.bukkit.Location l, org.bukkit.inventory.Inventory inv)
  • Method Details

    • save

      public void save(org.bukkit.Location l)
    • reload

      public void reload()
      Reload this BlockMenu based on its BlockMenuPreset.
    • getBlock

      public org.bukkit.block.Block getBlock()
    • getLocation

      public org.bukkit.Location getLocation()
    • dropItems

      public void dropItems(org.bukkit.Location l, int... slots)
      This method drops the contents of this BlockMenu on the ground at the given Location.
      Parameters:
      l - Where to drop these items
      slots - The slots of items that should be dropped
    • delete

      @Deprecated public void delete(org.bukkit.Location l)
      Deprecated.