Class ClickModeCheckEvent

java.lang.Object
net.okocraft.box.api.event.BoxEvent
net.okocraft.box.feature.gui.api.event.mode.ClickModeCheckEvent

public class ClickModeCheckEvent extends BoxEvent
  • Constructor Details

    • ClickModeCheckEvent

      public ClickModeCheckEvent(@NotNull @NotNull PlayerSession session, @NotNull @NotNull BoxItemClickMode mode, boolean originalResult)
  • Method Details

    • getSession

      @NotNull public @NotNull PlayerSession getSession()
    • getMode

      @NotNull public @NotNull BoxItemClickMode getMode()
    • getOriginalResult

      public boolean getOriginalResult()
    • isAllowed

      public boolean isAllowed()
    • setAllowed

      public void setAllowed(boolean result)
    • toDebugLog

      @NotNull public @NotNull String toDebugLog()
      Description copied from class: BoxEvent
      Creates the debug log from this event.
      Overrides:
      toDebugLog in class BoxEvent
      Returns:
      the debug log
    • toString

      public String toString()
      Overrides:
      toString in class Object