Uses of Enum Class
net.minecraft.world.GameMode
Packages that use GameMode
Package
Description
-
Uses of GameMode in net.minecraft.client.network
Fields in net.minecraft.client.network declared as GameModeMethods in net.minecraft.client.network with parameters of type GameModeModifier and TypeMethodDescriptionvoidClientPlayerInteractionManager.method_1233(GameMode gameMode) -
Uses of GameMode in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type GameModeModifier and TypeMethodDescriptionvoidPlayerEntity.method_3170(GameMode gamemode) voidServerPlayerEntity.method_3170(GameMode gamemode) -
Uses of GameMode in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as GameModeModifier and TypeFieldDescriptionprivate GameModeGameJoinS2CPacket.field_8674private GameModePlayerRespawnS2CPacket.field_8706Methods in net.minecraft.network.packet.s2c.play that return GameModeModifier and TypeMethodDescriptionGameJoinS2CPacket.method_7798()PlayerRespawnS2CPacket.method_7848()Constructors in net.minecraft.network.packet.s2c.play with parameters of type GameModeModifierConstructorDescriptionGameJoinS2CPacket(int int2, GameMode gameMode, boolean bool, int int3, Difficulty difficulty, int int4, LevelGeneratorType levelGeneratorType) PlayerRespawnS2CPacket(int int2, Difficulty difficulty, LevelGeneratorType levelGeneratorType, GameMode gameMode) -
Uses of GameMode in net.minecraft.server
Fields in net.minecraft.server declared as GameModeMethods in net.minecraft.server that return GameModeMethods in net.minecraft.server with parameters of type GameModeModifier and TypeMethodDescriptionvoidMinecraftServer.method_2999(GameMode gameMode) abstract StringMinecraftServer.method_3000(GameMode gameMode, boolean bool) voidPlayerManager.setGameMode(GameMode gamemode) -
Uses of GameMode in net.minecraft.server.command
Methods in net.minecraft.server.command that return GameModeModifier and TypeMethodDescriptionprotected GameModeGameModeCommand.method_3540(CommandSource commandSource, String string) Methods in net.minecraft.server.command with parameters of type GameModeModifier and TypeMethodDescriptionprotected voidDefaultGameModeCommand.method_3461(GameMode gameMode) -
Uses of GameMode in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated declared as GameModeMethods in net.minecraft.server.dedicated that return GameModeMethods in net.minecraft.server.dedicated with parameters of type GameModeModifier and TypeMethodDescriptionMinecraftDedicatedServer.method_3000(GameMode gameMode, boolean bool) -
Uses of GameMode in net.minecraft.server.integrated
Methods in net.minecraft.server.integrated that return GameModeMethods in net.minecraft.server.integrated with parameters of type GameModeModifier and TypeMethodDescriptionvoidIntegratedServer.method_2999(GameMode gameMode) IntegratedServer.method_3000(GameMode gameMode, boolean bool) -
Uses of GameMode in net.minecraft.server.network
Fields in net.minecraft.server.network declared as GameModeMethods in net.minecraft.server.network that return GameModeMethods in net.minecraft.server.network with parameters of type GameModeModifier and TypeMethodDescriptionvoidServerPlayerInteractionManager.method_2174(GameMode gamemode) voidServerPlayerInteractionManager.setGamemode(GameMode gamemode) -
Uses of GameMode in net.minecraft.world
Methods in net.minecraft.world that return GameModeModifier and TypeMethodDescriptionstatic GameModeGameMode.setGameModeWithId(int gamemode) static GameModeGameMode.setGameModeWithString(String gamemode) static GameModeReturns the enum constant of this class with the specified name.static GameMode[]GameMode.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of GameMode in net.minecraft.world.level
Fields in net.minecraft.world.level declared as GameModeModifier and TypeFieldDescriptionprivate GameModeLevelProperties.field_249private final GameModeLevelInfo.field_4566Methods in net.minecraft.world.level that return GameModeModifier and TypeMethodDescriptionLevelProperties.getGamemode()ReadOnlyLevelProperties.getGamemode()static GameModeLevelInfo.method_3754(int int2) LevelInfo.method_3758()Methods in net.minecraft.world.level with parameters of type GameModeConstructors in net.minecraft.world.level with parameters of type GameModeModifierConstructorDescriptionLevelInfo(long long2, GameMode gameMode, boolean bool, boolean bool2, LevelGeneratorType levelGeneratorType) -
Uses of GameMode in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as GameModeMethods in net.minecraft.world.level.storage that return GameModeConstructors in net.minecraft.world.level.storage with parameters of type GameModeModifierConstructorDescriptionLevelSummary(String string, String string2, long long2, long long3, GameMode gameMode, boolean bool, boolean bool2, boolean bool3)