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
Classic Gamerule

Classic Gamerule

Bring back the classic camel-case gamerules to MC 1.21.11+

101
2
Utility

Compatibility

Minecraft: Java Edition

Platforms

Fabric

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

fallen-breath
fallen-breath Member

Details

Licensed LGPL-3.0-only
Published 3 weeks ago
Updated last week
DescriptionGalleryChangelogVersions

A simple mod that brings back the classic gamerule names to MC 1.21.11+

Minecraft renamed all gamerules from camelCase to namespaced:snake_case in 25w44a (1.21.11 snapshot), and even reverted the values of some rules, which broke all existing usage of gamerules. This is a poorly implemented incompatible change. Let's "revert" it by restoring the old names in Minecraft.

For example, classic gamerules like doDaylightCycle were changed to advance_time (actually minecraft:advance_time), and doMobSpawning became spawn_mobs

What This Mod Does

Functionalities:

  1. Add all camelCase names as aliases for existing gamerules, e.g. /gamerule doMobSpawning false will work again now
  2. Correctly mapped rule values that were inverted, e.g., disableElytraMovementCheck has the opposite value of minecraft:elytra_movement_check

Limitation:

  1. This mod only restores the classic naming conventions and value mappings. It does not revert the newly added value constraints for certain gamerules (e.g. minecraft:max_entity_cramming)
  2. Classic rule doFireTick and allowFireTicksAwayFromPlayer are read-only now. Since their successor minecraft:fire_spread_radius_around_player cannot perfectly express the intention of these 2 old rules

Requirement

This mod is server-side only (including single-player worlds) and requires no additional dependencies. It supports all Minecraft versions since 1.21.11

Modrinth is open source.

main@016c3d7

© 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.