Class AbstractMergedWindow

All Implemented Interfaces:
GuiParent, Window

public abstract class AbstractMergedWindow extends AbstractDoubleWindow
A Window where top and player Inventory are affected by the same Gui.

Only in very rare circumstances should this class be used directly. Instead, use Window.merged() to create such a Window.

  • Constructor Details

    • AbstractMergedWindow

      public AbstractMergedWindow(org.bukkit.entity.Player player, xyz.xenondevs.inventoryaccess.component.ComponentWrapper title, AbstractGui gui, org.bukkit.inventory.Inventory upperInventory, boolean closeable)
      Creates a new AbstractMergedWindow.
      Parameters:
      player - The Player that views the window.
      title - The title of the window.
      gui - The Gui of the window.
      upperInventory - The Inventory of the window.
      closeable - Whether the window is closeable.
  • Method Details