Class GuiInitEvent

java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.GuiInitEvent

public final class GuiInitEvent extends Event
This event is fired after a Gui has been initialized and before its components are sorted. If you want to add or remove components to a gui, listen to this event. This event cannot be cancelled.
  • Field Details

    • gui

      public final Gui gui
  • Constructor Details

    • GuiInitEvent

      public GuiInitEvent(Gui gui)