Class ClickModeCheckEvent
java.lang.Object
net.okocraft.box.api.event.BoxEvent
net.okocraft.box.feature.gui.api.event.mode.ClickModeCheckEvent
-
Constructor Summary
ConstructorDescriptionClickModeCheckEvent
(@NotNull PlayerSession session, @NotNull BoxItemClickMode mode, boolean originalResult) -
Method Summary
Modifier and TypeMethodDescription@NotNull BoxItemClickMode
getMode()
boolean
@NotNull PlayerSession
boolean
void
setAllowed
(boolean result) @NotNull String
Creates the debug log from this event.toString()
-
Constructor Details
-
ClickModeCheckEvent
public ClickModeCheckEvent(@NotNull @NotNull PlayerSession session, @NotNull @NotNull BoxItemClickMode mode, boolean originalResult)
-
-
Method Details
-
getSession
-
getMode
-
getOriginalResult
public boolean getOriginalResult() -
isAllowed
public boolean isAllowed() -
setAllowed
public void setAllowed(boolean result) -
toDebugLog
Description copied from class:BoxEvent
Creates the debug log from this event.- Overrides:
toDebugLog
in classBoxEvent
- Returns:
- the debug log
-
toString
-