Uses of Enum Class
net.minecraft.world.level.LevelInfo.GameMode
Packages that use LevelInfo.GameMode
Package
Description
-
Uses of LevelInfo.GameMode in net.minecraft.client.network
Fields in net.minecraft.client.network declared as LevelInfo.GameModeModifier and TypeFieldDescriptionprivate LevelInfo.GameModeClientPlayerInteractionManager.gameModeprivate LevelInfo.GameModePlayerListEntry.gameModeMethods in net.minecraft.client.network that return LevelInfo.GameModeModifier and TypeMethodDescriptionClientPlayerInteractionManager.getCurrentGameMode()PlayerListEntry.getGameMode()Methods in net.minecraft.client.network with parameters of type LevelInfo.GameModeModifier and TypeMethodDescriptionvoidClientPlayerInteractionManager.setGameMode(LevelInfo.GameMode gameMode) protected voidPlayerListEntry.setGameMode(LevelInfo.GameMode gameMode) -
Uses of LevelInfo.GameMode in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type LevelInfo.GameModeModifier and TypeMethodDescriptionvoidPlayerEntity.setGameMode(LevelInfo.GameMode gameMode) voidServerPlayerEntity.setGameMode(LevelInfo.GameMode gameMode) -
Uses of LevelInfo.GameMode in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as LevelInfo.GameModeModifier and TypeFieldDescriptionprivate LevelInfo.GameModeGameJoinS2CPacket.gameModeprivate final LevelInfo.GameModePlayerListS2CPacket.Entry.gameModeprivate LevelInfo.GameModePlayerRespawnS2CPacket.gameModeMethods in net.minecraft.network.packet.s2c.play that return LevelInfo.GameModeModifier and TypeMethodDescriptionGameJoinS2CPacket.getGameMode()PlayerListS2CPacket.Entry.getGameMode()PlayerRespawnS2CPacket.getGameMode()Constructors in net.minecraft.network.packet.s2c.play with parameters of type LevelInfo.GameModeModifierConstructorDescriptionEntry(com.mojang.authlib.GameProfile profile, int latency, LevelInfo.GameMode gameMode, Text displayName) GameJoinS2CPacket(int id, LevelInfo.GameMode gameMode, boolean hardCore, int viewDistance, Difficulty difficulty, int maxPlayers, LevelGeneratorType levelGeneratorType, boolean reducedDebugInfo) PlayerRespawnS2CPacket(int dimensionId, Difficulty difficulty, LevelGeneratorType generatorType, LevelInfo.GameMode gameMode) -
Uses of LevelInfo.GameMode in net.minecraft.server
Fields in net.minecraft.server declared as LevelInfo.GameModeMethods in net.minecraft.server that return LevelInfo.GameModeModifier and TypeMethodDescriptionabstract LevelInfo.GameModeMinecraftServer.getDefaultGameMode()Methods in net.minecraft.server with parameters of type LevelInfo.GameModeModifier and TypeMethodDescriptionabstract StringMinecraftServer.method_3000(LevelInfo.GameMode gamemode, boolean bool) voidMinecraftServer.setDefaultGameMode(LevelInfo.GameMode gamemode) voidPlayerManager.setGameMode(LevelInfo.GameMode gameMode) -
Uses of LevelInfo.GameMode in net.minecraft.server.command
Methods in net.minecraft.server.command that return LevelInfo.GameModeModifier and TypeMethodDescriptionprotected LevelInfo.GameModeGameModeCommand.method_3540(CommandSource commandSource, String string) Methods in net.minecraft.server.command with parameters of type LevelInfo.GameModeModifier and TypeMethodDescriptionprotected voidDefaultGameModeCommand.method_3461(LevelInfo.GameMode gameMode) -
Uses of LevelInfo.GameMode in net.minecraft.server.dedicated
Fields in net.minecraft.server.dedicated declared as LevelInfo.GameModeModifier and TypeFieldDescriptionprivate LevelInfo.GameModeMinecraftDedicatedServer.defaultGameModeMethods in net.minecraft.server.dedicated that return LevelInfo.GameModeMethods in net.minecraft.server.dedicated with parameters of type LevelInfo.GameModeModifier and TypeMethodDescriptionMinecraftDedicatedServer.method_3000(LevelInfo.GameMode gamemode, boolean bool) voidMinecraftDedicatedServer.setDefaultGameMode(LevelInfo.GameMode gamemode) -
Uses of LevelInfo.GameMode in net.minecraft.server.integrated
Methods in net.minecraft.server.integrated that return LevelInfo.GameModeMethods in net.minecraft.server.integrated with parameters of type LevelInfo.GameModeModifier and TypeMethodDescriptionIntegratedServer.method_3000(LevelInfo.GameMode gamemode, boolean bool) voidIntegratedServer.setDefaultGameMode(LevelInfo.GameMode gamemode) -
Uses of LevelInfo.GameMode in net.minecraft.server.network
Fields in net.minecraft.server.network declared as LevelInfo.GameModeModifier and TypeFieldDescriptionprivate LevelInfo.GameModeServerPlayerInteractionManager.gameModeMethods in net.minecraft.server.network that return LevelInfo.GameModeMethods in net.minecraft.server.network with parameters of type LevelInfo.GameModeModifier and TypeMethodDescriptionvoidServerPlayerInteractionManager.setGameMode(LevelInfo.GameMode gamemode) voidServerPlayerInteractionManager.setGameModeIfNotPresent(LevelInfo.GameMode gameMode) -
Uses of LevelInfo.GameMode in net.minecraft.world.level
Fields in net.minecraft.world.level declared as LevelInfo.GameModeModifier and TypeFieldDescriptionprivate LevelInfo.GameModeLevelProperties.gamemodeprivate final LevelInfo.GameModeLevelInfo.gameModeMethods in net.minecraft.world.level that return LevelInfo.GameModeModifier and TypeMethodDescriptionstatic LevelInfo.GameModeLevelInfo.GameMode.byId(int id) static LevelInfo.GameModeLevelInfo.getGameMode()LevelProperties.getGameMode()ReadOnlyLevelProperties.getGameMode()static LevelInfo.GameModeLevelInfo.getGameModeById(int id) static LevelInfo.GameModeReturns the enum constant of this class with the specified name.static LevelInfo.GameMode[]LevelInfo.GameMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world.level with parameters of type LevelInfo.GameModeConstructors in net.minecraft.world.level with parameters of type LevelInfo.GameModeModifierConstructorDescriptionLevelInfo(long seed, LevelInfo.GameMode gameMode, boolean structures, boolean hardcore, LevelGeneratorType generatorType) -
Uses of LevelInfo.GameMode in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as LevelInfo.GameModeMethods in net.minecraft.world.level.storage that return LevelInfo.GameModeConstructors in net.minecraft.world.level.storage with parameters of type LevelInfo.GameModeModifierConstructorDescriptionLevelSummary(String fileName, String displayName, long lastPlayed, long size, LevelInfo.GameMode gameMode, boolean requiresConversion, boolean hardcore, boolean cheats)