Package | Description |
---|---|
org.bukkit.event.player |
Modifier and Type | Method and Description |
---|---|
@NotNull PlayerGameModeChangeEvent.Cause |
PlayerGameModeChangeEvent.getCause()
Gets the cause of this gamemode change.
|
static PlayerGameModeChangeEvent.Cause |
PlayerGameModeChangeEvent.Cause.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerGameModeChangeEvent.Cause[] |
PlayerGameModeChangeEvent.Cause.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
PlayerGameModeChangeEvent(@NotNull Player player,
@NotNull GameMode newGameMode,
@NotNull PlayerGameModeChangeEvent.Cause cause,
net.kyori.adventure.text.Component cancelMessage) |
Copyright © 2021. All rights reserved.