Class GuiOpenEvent

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

public final class GuiOpenEvent extends Event
This event is fired when a Gui is opened. Changing the value will result in a different gui being opened. Cancelling the event will result in no gui being opened.
  • Field Details

    • gui

      public Gui gui
  • Constructor Details

    • GuiOpenEvent

      public GuiOpenEvent(Gui gui)