Uses of Class
net.minecraft.world.GameRules
Package
Description
-
Uses of GameRules in net.minecraft.client.gui.screen.world
Modifier and TypeFieldDescriptionprivate GameRules
CreateWorldScreen.gameRules
private final GameRules
EditGameRulesScreen.gameRules
ModifierConstructorDescriptionEditGameRulesScreen
(GameRules gameRules, Consumer<Optional<GameRules>> ruleSaveConsumer) RuleListWidget
(GameRules gameRules) ModifierConstructorDescriptionEditGameRulesScreen
(GameRules gameRules, Consumer<Optional<GameRules>> ruleSaveConsumer) -
Uses of GameRules in net.minecraft.client.world
-
Uses of GameRules in net.minecraft.server
-
Uses of GameRules in net.minecraft.test
-
Uses of GameRules in net.minecraft.world
Modifier and TypeMethodDescriptionGameRules.copy()
SaveProperties.getGameRules()
World.getGameRules()
WorldProperties.getGameRules()
Modifier 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
Modifier and TypeMethodDescriptionLevelInfo.getGameRules()
LevelProperties.getGameRules()
UnmodifiableLevelProperties.getGameRules()
ModifierConstructorDescriptionLevelInfo
(String name, GameMode gameMode, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, DataConfiguration dataConfiguration)