Uses of Class
net.minecraft.world.level.GameRules
Packages that use GameRules
Package
Description
-
Uses of GameRules in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as GameRulesModifier and TypeFieldDescriptionprivate final GameRules
EditGameRulesScreen.gameRules
private GameRules
WorldCreationUiState.gameRules
Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type GameRulesMethods in net.minecraft.client.gui.screens.worldselection that return GameRulesMethods in net.minecraft.client.gui.screens.worldselection with parameters of type GameRulesConstructors in net.minecraft.client.gui.screens.worldselection with parameters of type GameRulesModifierConstructorDescriptionEditGameRulesScreen
(GameRules gameRules, Consumer<Optional<GameRules>> exitCallback) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type GameRulesModifierConstructorDescriptionEditGameRulesScreen
(GameRules gameRules, Consumer<Optional<GameRules>> exitCallback) -
Uses of GameRules in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as GameRulesMethods in net.minecraft.client.multiplayer that return GameRules -
Uses of GameRules in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as GameRules -
Uses of GameRules in net.minecraft.server
Methods in net.minecraft.server that return GameRules -
Uses of GameRules in net.minecraft.world.level
Fields in net.minecraft.world.level declared as GameRulesMethods in net.minecraft.world.level that return GameRulesModifier and TypeMethodDescriptionGameRules.copy()
LevelSettings.gameRules()
Level.getGameRules()
Methods in net.minecraft.world.level with parameters of type GameRulesModifier and TypeMethodDescriptionprivate <T extends GameRules.Value<T>>
voidGameRules.assignCap
(GameRules.Key<T> key, GameRules rules, MinecraftServer server) void
GameRules.assignFrom
(GameRules rules, MinecraftServer server) Constructors in net.minecraft.world.level with parameters of type GameRulesModifierConstructorDescriptionLevelSettings
(String levelName, GameType gameType, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, WorldDataConfiguration dataConfiguration) LevelSettings
(String levelName, GameType gameType, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, WorldDataConfiguration dataConfiguration, com.mojang.serialization.Lifecycle lifecycle) -
Uses of GameRules in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return GameRulesModifier and TypeMethodDescriptionDerivedLevelData.getGameRules()
LevelData.getGameRules()
PrimaryLevelData.getGameRules()
WorldData.getGameRules()