Class GUIDisplay<H extends GUIHolder<?>>

java.lang.Object
me.hsgamer.hscore.ui.BaseDisplay<H>
me.hsgamer.hscore.minecraft.gui.GUIDisplay<H>
Type Parameters:
H - the type of the holder
All Implemented Interfaces:
Display, Initializable, Updatable
Direct Known Subclasses:
InventoryGUIDisplay

public abstract class GUIDisplay<H extends GUIHolder<?>> extends BaseDisplay<H>
The base Display for UI in Minecraft
  • Constructor Details

    • GUIDisplay

      protected GUIDisplay(@NotNull @NotNull UUID uuid, @NotNull H holder)
      Create a new display
      Parameters:
      uuid - the unique id
      holder - the holder
  • Method Details

    • open

      public abstract void open()
      Open the display
    • handleEvent

      public abstract void handleEvent(ViewerEvent event)
      Handle the event
      Parameters:
      event - the event