Uses of Class
net.minecraft.world.GameRules
Packages that use GameRules
Package
Description
-
Uses of GameRules in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as GameRulesModifier and TypeFieldDescriptionprivate final GameRules
EditGameRulesScreen.gameRules
private GameRules
WorldCreator.gameRules
Fields in net.minecraft.client.gui.screen.world with type parameters of type GameRulesMethods in net.minecraft.client.gui.screen.world that return GameRulesMethods in net.minecraft.client.gui.screen.world with 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.server
Methods in net.minecraft.server that return GameRules -
Uses of GameRules in net.minecraft.server.world
Methods in net.minecraft.server.world 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
(FeatureSet enabledFeatures) SaveProperties.getGameRules()
Methods in net.minecraft.world with parameters of type GameRulesModifier and TypeMethodDescriptionvoid
GameRules.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()
ServerWorldProperties.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)