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 GameRules
CreateWorldScreen.gameRules
private final GameRules
EditGameRulesScreen.gameRules
Fields 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 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()
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, DataPackSettings dataPackSettings)