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