Uses of Class
org.bukkit.GameMode
-
Packages that use GameMode Package Description org.bukkit More generalized classes in the API.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld, including all players, monsters, projectiles, etc.org.bukkit.event.player -
-
Uses of GameMode in org.bukkit
Methods in org.bukkit that return GameMode Modifier and Type Method Description static GameModeGameMode. getByValue(int value)Deprecated.Magic valuestatic GameModeBukkit. getDefaultGameMode()Gets the defaultGameModefor new players.GameModeServer. getDefaultGameMode()Gets the defaultGameModefor new players.static GameModeGameMode. 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 are declared.Methods in org.bukkit with parameters of type GameMode Modifier and Type Method Description static voidBukkit. setDefaultGameMode(GameMode mode)Sets the defaultGameModefor new players.voidServer. setDefaultGameMode(GameMode mode)Sets the defaultGameModefor new players. -
Uses of GameMode in org.bukkit.entity
Methods in org.bukkit.entity that return GameMode Modifier and Type Method Description GameModeHumanEntity. getGameMode()Gets this human's currentGameModeMethods in org.bukkit.entity with parameters of type GameMode Modifier and Type Method Description voidHumanEntity. setGameMode(GameMode mode)Sets this human's currentGameMode -
Uses of GameMode in org.bukkit.event.player
Methods in org.bukkit.event.player that return GameMode Modifier and Type Method Description GameModePlayerGameModeChangeEvent. getNewGameMode()Gets the GameMode the player is switched to.Constructors in org.bukkit.event.player with parameters of type GameMode Constructor Description PlayerGameModeChangeEvent(Player player, GameMode newGameMode)
-