Uses of Class
net.minecraft.world.GameRules
Packages that use GameRules
Package
Description
The base package for all Minecraft classes.
-
Uses of GameRules in net.minecraft
Fields in net.minecraft declared as GameRulesMethods in net.minecraft that return GameRulesMethods in net.minecraft with parameters of type GameRules -
Uses of GameRules in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as GameRulesFields in net.minecraft.client.gui.screen.world with type parameters of type GameRulesConstructors in net.minecraft.client.gui.screen.world with parameters of type GameRulesModifierConstructorDescriptionEditGameRulesScreen(GameRules gameRules, Consumer<Optional<GameRules>> ruleSaveConsumer) RuleListWidget(GameRules gameRules) Constructor parameters in net.minecraft.client.gui.screen.world with type arguments of type GameRulesModifierConstructorDescriptionEditGameRulesScreen(GameRules gameRules, Consumer<Optional<GameRules>> ruleSaveConsumer) -
Uses of GameRules in net.minecraft.client.world
Fields in net.minecraft.client.world declared as GameRulesMethods in net.minecraft.client.world that return GameRules -
Uses of GameRules in net.minecraft.server
Methods in net.minecraft.server that return GameRules -
Uses of GameRules in net.minecraft.test
Fields in net.minecraft.test declared as GameRules -
Uses of GameRules in net.minecraft.world
Methods in net.minecraft.world that return GameRulesModifier and TypeMethodDescriptionGameRules.copy()SaveProperties.getGameRules()World.getGameRules()WorldProperties.getGameRules()Methods in net.minecraft.world with parameters of type GameRulesModifier and TypeMethodDescriptionvoidGameRules.setAllValues(GameRules rules, @Nullable MinecraftServer server) private <T extends GameRules.Rule<T>>
voidGameRules.setValue(GameRules.Key<T> key, GameRules rules, @Nullable MinecraftServer server) -
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 TypeMethodDescriptionLevelInfo.getGameRules()LevelProperties.getGameRules()UnmodifiableLevelProperties.getGameRules()Constructors in net.minecraft.world.level with parameters of type GameRulesModifierConstructorDescriptionLevelInfo(String name, GameMode gameMode, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, DataConfiguration dataConfiguration)