Uses of Enum Class
org.bukkit.event.player.PlayerGameModeChangeEvent.Cause
-
Uses of PlayerGameModeChangeEvent.Cause in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerGameModeChangeEvent.getCause()
Gets the cause of this gamemode change.Returns the enum constant of this class with the specified name.static PlayerGameModeChangeEvent.Cause[]
PlayerGameModeChangeEvent.Cause.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionPlayerGameModeChangeEvent(@NotNull Player player, @NotNull GameMode newGameMode, @NotNull PlayerGameModeChangeEvent.Cause cause, Component cancelMessage)