Uses of Class
net.minecraft.world.level.GameRules
Packages that use GameRules
Package
Description
-
Uses of GameRules in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as GameRulesModifier and TypeFieldDescriptionprivate GameRules
CreateWorldScreen.gameRules
private final GameRules
EditGameRulesScreen.gameRules
Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type GameRulesConstructors in net.minecraft.client.gui.screens.worldselection with parameters of type GameRulesModifierConstructorDescriptionEditGameRulesScreen
(GameRules p_101051_, Consumer<Optional<GameRules>> p_101052_) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type GameRulesModifierConstructorDescriptionEditGameRulesScreen
(GameRules p_101051_, Consumer<Optional<GameRules>> p_101052_) -
Uses of GameRules in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as GameRulesMethods in net.minecraft.client.multiplayer that return GameRules -
Uses of GameRules in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as GameRules -
Uses of GameRules in net.minecraft.server
Methods in net.minecraft.server that return GameRules -
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 TypeMethodDescriptionGameRules.copy()
LevelSettings.gameRules()
Level.getGameRules()
Methods in net.minecraft.world.level with parameters of type GameRulesModifier and TypeMethodDescriptionprivate <T extends GameRules.Value<T>>
voidGameRules.assignCap
(GameRules.Key<T> p_46173_, GameRules p_46174_, MinecraftServer p_46175_) void
GameRules.assignFrom
(GameRules p_46177_, MinecraftServer p_46178_) Constructors in net.minecraft.world.level with parameters of type GameRulesModifierConstructorDescriptionLevelSettings
(String p_46910_, GameType p_46911_, boolean p_46912_, Difficulty p_46913_, boolean p_46914_, GameRules p_46915_, DataPackConfig p_46916_) LevelSettings
(String p_46910_, GameType p_46911_, boolean p_46912_, Difficulty p_46913_, boolean p_46914_, GameRules p_46915_, DataPackConfig p_46916_, com.mojang.serialization.Lifecycle lifecycle) -
Uses of GameRules in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage that return GameRulesModifier and TypeMethodDescriptionDerivedLevelData.getGameRules()
LevelData.getGameRules()
PrimaryLevelData.getGameRules()
WorldData.getGameRules()