Package | Description |
---|---|
net.risingworld.api.events.player | |
net.risingworld.api.utils |
Modifier and Type | Method and Description |
---|---|
Gamemode |
PlayerChangeGamemodeEvent.getNewGamemode()
Gets the new game mode.
|
Modifier and Type | Method and Description |
---|---|
void |
PlayerChangeGamemodeEvent.setNewGamemode(Gamemode mode)
Changes the new game mode for the player.
|
Constructor and Description |
---|
PlayerChangeGamemodeEvent(Player player,
Gamemode gamemode) |
Modifier and Type | Method and Description |
---|---|
static Gamemode |
Gamemode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Gamemode[] |
Gamemode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|