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 final GameRules
EditGameRulesScreen.gameRules
private GameRules
WorldCreationUiState.gameRules
Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type GameRulesMethods in net.minecraft.client.gui.screens.worldselection that return GameRulesMethods in net.minecraft.client.gui.screens.worldselection with parameters of type GameRulesConstructors in net.minecraft.client.gui.screens.worldselection with parameters of type GameRulesModifierConstructorDescriptionEditGameRulesScreen
(GameRules pGameRules, Consumer<Optional<GameRules>> pExitCallback) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type GameRulesModifierConstructorDescriptionEditGameRulesScreen
(GameRules pGameRules, Consumer<Optional<GameRules>> pExitCallback) -
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> pKey, GameRules pRules, MinecraftServer pServer) void
GameRules.assignFrom
(GameRules pRules, MinecraftServer pServer) Constructors in net.minecraft.world.level with parameters of type GameRulesModifierConstructorDescriptionLevelSettings
(String pLevelName, GameType pGameType, boolean pHardcore, Difficulty pDifficulty, boolean pAllowCommands, GameRules pGameRules, WorldDataConfiguration pDataConfiguration) LevelSettings
(String pLevelName, GameType pGameType, boolean pHardcore, Difficulty pDifficulty, boolean pAllowCommands, GameRules pGameRules, WorldDataConfiguration pDataConfiguration, 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()
-
Uses of GameRules in net.neoforged.testframework.junit
Fields in net.neoforged.testframework.junit declared as GameRulesModifier and TypeFieldDescriptionprivate static final GameRules
EphemeralTestServerProvider.JUnitServer.TEST_GAME_RULES