Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
WorldGameRules

WorldGameRules

Change gamerules to be separate per world

856
17
Game Mechanics
Management
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.5–1.20.6
1.20.1

Platforms

Fabric
Quilt

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Join Discord server
Donate on Ko-fi

Creators

DrexHD
DrexHD Member

Details

Licensed MIT
Published 11 months ago
Updated last week
DescriptionChangelogVersions

WorldGameRules

A fabric mod to change all gamerules to be separate per world

Commands

The vanilla gamerule command has been replaced with a custom command that requires a dimension. The gamerule command requires world-gamerules.commands.gamerule or operator level 2.

  • /gamerule <rule> [dimension selector] - Query the gamerule <rule> in all specified dimensions
  • /gamerule <rule> <value> [dimension selector] - Set the gamerule <rule> to <value> in all specified dimensions

Dimension selectors

Dimension selectors allow you to specify what dimensions should be queried / set

  • @all - Selects all dimensions
  • @namespace <namespace> - Selects dimensions with the specified namespace (eg. namespace minecraft selects minecraft:overworld, minecraft:the_nether and minecraft:the_end, but not custom:dimension)
  • @regex <regex> - Selects all dimensions, where the dimension id matches the regex
  • <dimension id> - To select a specific dimension

Modrinth is open source.

main@bf16d36

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.