Uses of Enum Class
net.minecraft.world.GameMode
Packages that use GameMode
Package
Description
-
Uses of GameMode in net.minecraft
Methods in net.minecraft that return GameModeMethods in net.minecraft with parameters of type GameModeModifier and TypeMethodDescriptionprivate static intclass_4415.method_20655(class_3915 class_3915, GameMode gameMode) -
Uses of GameMode in net.minecraft.client.network
Fields in net.minecraft.client.network declared as GameModeModifier and TypeFieldDescriptionprivate GameModePlayerListEntry.field_10595private GameModeClientPlayerInteractionManager.field_1656Methods in net.minecraft.client.network that return GameModeModifier and TypeMethodDescriptionClientPlayerInteractionManager.method_9667()PlayerListEntry.method_9679()Methods in net.minecraft.client.network with parameters of type GameModeModifier and TypeMethodDescriptionvoidClientPlayerInteractionManager.method_1233(GameMode gameMode) protected voidPlayerListEntry.method_9674(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 final GameModePlayerListS2CPacket.Entry.field_11646private GameModeGameJoinS2CPacket.field_8674private GameModePlayerRespawnS2CPacket.field_8706Methods in net.minecraft.network.packet.s2c.play that return GameModeModifier and TypeMethodDescriptionPlayerListS2CPacket.Entry.method_10673()GameJoinS2CPacket.method_7798()PlayerRespawnS2CPacket.method_7848()Constructors in net.minecraft.network.packet.s2c.play with parameters of type GameModeModifierConstructorDescriptionGameJoinS2CPacket(int int2, GameMode gameMode, boolean bool, DimensionType dimensionType, Difficulty difficulty, int int3, LevelGeneratorType levelGeneratorType, boolean bool2) PlayerRespawnS2CPacket(DimensionType dimensionType, 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 TypeMethodDescriptionabstract booleanMinecraftServer.method_20311(GameMode gameMode, boolean bool, int int2) voidMinecraftServer.method_2999(GameMode gameMode) voidPlayerManager.setGameMode(GameMode gamemode) -
Uses of GameMode in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type GameModeModifier and TypeMethodDescriptionprivate static voidGameModeCommand.method_20814(class_3915 class_3915, ServerPlayerEntity serverPlayerEntity, GameMode gameMode) private static intGameModeCommand.method_20816(com.mojang.brigadier.context.CommandContext<class_3915> commandContext, Collection<ServerPlayerEntity> collection, 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 TypeMethodDescriptionbooleanMinecraftDedicatedServer.method_20311(GameMode gameMode, boolean bool, int int2) voidMinecraftDedicatedServer.method_2999(GameMode gameMode) -
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 TypeMethodDescriptionbooleanIntegratedServer.method_20311(GameMode gameMode, boolean bool, int int2) voidIntegratedServer.method_2999(GameMode gameMode) -
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.method_11494(int int2, GameMode gameMode) static GameModeGameMode.method_11495(String string, GameMode gameMode) static 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.Methods in net.minecraft.world with parameters of type GameModeModifier and TypeMethodDescriptionstatic GameModeGameMode.method_11494(int int2, GameMode gameMode) static GameModeGameMode.method_11495(String string, GameMode gameMode) -
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 GameMode