Uses of Class
net.minecraft.world.level.gamerules.GameRules
Packages that use GameRules
Package
Description
-
Uses of GameRules in com.mojang.realmsclient.client.worldupload
Method parameters in com.mojang.realmsclient.client.worldupload with type arguments of type GameRulesModifier and TypeMethodDescriptionprivate static PathRealmsCreateWorldFlow.createTemporaryWorldFolder(RegistryAccess registryAccess, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings, Optional<GameRules> gameRulesOpt, @Nullable Path tempDataPackDir) -
Uses of GameRules in net.minecraft.client
Method parameters in net.minecraft.client with type arguments of type GameRulesModifier and TypeMethodDescriptionvoidMinecraft.doWorldLoad(LevelStorageSource.LevelStorageAccess levelSourceAccess, PackRepository packRepository, WorldStem worldStem, Optional<GameRules> gameRules, boolean newWorld) -
Uses of GameRules in net.minecraft.client.gui.screens.options
Constructor parameters in net.minecraft.client.gui.screens.options with type arguments of type GameRulesModifierConstructorDescriptionInWorldGameRulesScreen(ClientPacketListener connection, Consumer<Optional<GameRules>> exitCallback, Screen lastScreen) -
Uses of GameRules in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as GameRulesModifier and TypeFieldDescriptionfinal GameRulesAbstractGameRulesScreen.gameRulesprivate final GameRulesAbstractGameRulesScreen.RuleList.gameRulesprivate GameRulesWorldCreationUiState.gameRulesFields 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 GameRulesMethod parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type GameRulesModifier and TypeMethodDescriptionbooleanCreateWorldCallback.create(CreateWorldScreen createWorldScreen, LayeredRegistryAccess<RegistryLayer> finalLayers, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings, Optional<GameRules> gameRules, @Nullable Path tempDataPackDir) voidWorldOpenFlows.createLevelFromExistingSettings(LevelStorageSource.LevelStorageAccess levelSourceAccess, ReloadableServerResources serverResources, LayeredRegistryAccess<RegistryLayer> registryAccess, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings, Optional<GameRules> gameRules) private booleanCreateWorldScreen.createNewWorld(LayeredRegistryAccess<RegistryLayer> finalLayers, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings, Optional<GameRules> gameRules) private voidCreateWorldScreen.createWorldAndCleanup(LayeredRegistryAccess<RegistryLayer> finalLayers, LevelDataAndDimensions.WorldDataAndGenSettings worldDataAndGenSettings, Optional<GameRules> gameRules) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type GameRulesModifierConstructorDescriptionAbstractGameRulesScreen(GameRules gameRules, Consumer<Optional<GameRules>> exitCallback) WorldCreationGameRulesScreen(GameRules gameRules, Consumer<Optional<GameRules>> exitCallback) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type GameRulesModifierConstructorDescriptionAbstractGameRulesScreen(GameRules gameRules, Consumer<Optional<GameRules>> exitCallback) WorldCreationGameRulesScreen(GameRules gameRules, Consumer<Optional<GameRules>> exitCallback) -
Uses of GameRules in net.minecraft.client.server
Constructor parameters in net.minecraft.client.server with type arguments of type GameRulesModifierConstructorDescriptionIntegratedServer(Thread serverThread, Minecraft minecraft, LevelStorageSource.LevelStorageAccess levelStorageAccess, PackRepository packRepository, WorldStem worldStem, Optional<GameRules> gameRules, Services services, LevelLoadListener levelLoadListener) -
Uses of GameRules in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as GameRulesMethods in net.minecraft.gametest.framework with parameters of type GameRulesModifier and TypeMethodDescriptionprivate static <T> voidTestEnvironmentDefinition.SetGameRules.setFromActive(GameRuleMap map, GameRule<T> rule, GameRules rules) -
Uses of GameRules in net.minecraft.server
Fields in net.minecraft.server declared as GameRulesFields in net.minecraft.server with type parameters of type GameRulesMethods in net.minecraft.server that return GameRulesModifier and TypeMethodDescriptionMinecraftServer.getGameRules()MinecraftServer.getGlobalGameRules()Deprecated.Constructor parameters in net.minecraft.server with type arguments of type GameRulesModifierConstructorDescriptionMinecraftServer(Thread serverThread, LevelStorageSource.LevelStorageAccess storageSource, PackRepository packRepository, WorldStem worldStem, Optional<GameRules> gameRules, Proxy proxy, DataFixer fixerUpper, Services services, LevelLoadListener levelLoadListener, boolean propagatesCrashes) -
Uses of GameRules in net.minecraft.server.dedicated
Constructor parameters in net.minecraft.server.dedicated with type arguments of type GameRulesModifierConstructorDescriptionDedicatedServer(Thread serverThread, LevelStorageSource.LevelStorageAccess levelStorageSource, PackRepository packRepository, WorldStem worldStem, Optional<GameRules> gameRules, DedicatedServerSettings settings, DataFixer fixerUpper, Services services) -
Uses of GameRules in net.minecraft.server.jsonrpc.internalapi
Fields in net.minecraft.server.jsonrpc.internalapi declared as GameRules -
Uses of GameRules in net.minecraft.server.level
Methods in net.minecraft.server.level that return GameRules -
Uses of GameRules in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type GameRulesModifier and TypeMethodDescriptionprivate static <T> voidServerGamePacketListenerImpl.addGameRuleValue(GameRules gameRules, Map<ResourceKey<GameRule<?>>, String> values, GameRule<T> rule) private <T> voidServerGamePacketListenerImpl.setGameRuleValue(GameRules gameRules, GameRule<T> rule, String value) -
Uses of GameRules in net.minecraft.world.level.gamerules
Methods in net.minecraft.world.level.gamerules that return GameRulesMethods in net.minecraft.world.level.gamerules that return types with arguments of type GameRulesMethods in net.minecraft.world.level.gamerules with parameters of type GameRulesModifier and TypeMethodDescriptionvoidGameRules.setAll(GameRules other, @Nullable MinecraftServer server) -
Uses of GameRules in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage with parameters of type GameRulesModifier and TypeMethodDescriptionstatic voidLevelStorageSource.writeGameRules(WorldData worldData, Path worldFolder, GameRules gameRules) -
Uses of GameRules in net.neoforged.neoforge.event.level
Methods in net.neoforged.neoforge.event.level that return GameRules