Перейти к содержимому
Mineforgian

Classic Gamerule

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

Загрузки
1K
Подписчики
4
Обновлён
16 апреля 2026 г.
Лицензия
LGPL-3.0-only

Опубликован 9 ноября 2025 г.

Исходный кодСообщить об ошибке

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

Ченджлог

v1.0.5-mc1.21.11-neoforgeРелиз1.21.11 · 16 апреля 2026 г.

w


Build Information

v1.0.5-mc1.21.11-fabricРелиз1.21.11 · 16 апреля 2026 г.

w


Build Information

v1.0.5-mc26.1.2Релиз26.1.1, 26.1.2, 26.2 · 16 апреля 2026 г.

w


Build Information

v1.0.4-mc1.21.11-fabricРелиз1.21.11 · 15 апреля 2026 г.
  • fixed server-side translation fails to track player's language after player respawn

Build Information

v1.0.4-mc26.1.2Релиз26.1, 26.1.1, 26.1.2 · 15 апреля 2026 г.
  • fixed server-side translation fails to track player's language after player respawn

Build Information

v1.0.4-mc1.21.11-neoforgeРелиз1.21.11 · 15 апреля 2026 г.
  • fixed server-side translation fails to track player's language after player respawn

Build Information

v1.0.3-mc1.21.11-neoforgeРелиз1.21.11 · 7 апреля 2026 г.
  • MC 26.1 support

Build Information

v1.0.3-mc1.21.11-fabricРелиз1.21.11 · 7 апреля 2026 г.
  • MC 26.1 support

Build Information

Комментарии

Загружаем…