|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use GameMode | |
|---|---|
| org.bukkit | More generalized classes in the API. |
| org.bukkit.entity | Interfaces for non-voxel objects that can exist in a world, including all players, monsters, projectiles, etc. |
| org.bukkit.event.player | Events relating to players. |
| Uses of GameMode in org.bukkit |
|---|
| Methods in org.bukkit that return GameMode | |
|---|---|
static GameMode |
GameMode.getByValue(int value)
Gets the GameMode represented by the specified value |
static GameMode |
Bukkit.getDefaultGameMode()
|
GameMode |
Server.getDefaultGameMode()
Gets the default GameMode for new players |
static GameMode |
GameMode.valueOf(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're declared. |
| Methods in org.bukkit with parameters of type GameMode | |
|---|---|
static void |
Bukkit.setDefaultGameMode(GameMode mode)
|
void |
Server.setDefaultGameMode(GameMode mode)
Sets the default GameMode for new players |
| Uses of GameMode in org.bukkit.entity |
|---|
| Methods in org.bukkit.entity that return GameMode | |
|---|---|
GameMode |
HumanEntity.getGameMode()
Gets this humans current GameMode |
| Methods in org.bukkit.entity with parameters of type GameMode | |
|---|---|
void |
HumanEntity.setGameMode(GameMode mode)
Sets this humans current GameMode |
| Uses of GameMode in org.bukkit.event.player |
|---|
| Methods in org.bukkit.event.player that return GameMode | |
|---|---|
GameMode |
PlayerGameModeChangeEvent.getNewGameMode()
|
| Constructors in org.bukkit.event.player with parameters of type GameMode | |
|---|---|
PlayerGameModeChangeEvent(Player player,
GameMode newGameMode)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||