Class InitGuiComponentEvent

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

public final class InitGuiComponentEvent extends Event
This event is fired when a GuiComponent is created. This event is called in its constructor, meaning it will not have been added to the Gui.components list yet. It cannot be cancelled.
  • Field Details

    • gui

      public final Gui gui
    • component

      public final GuiComponent component
  • Constructor Details

    • InitGuiComponentEvent

      public InitGuiComponentEvent(Gui gui, GuiComponent component)