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

Codecium

A Fabric mod that vastly improves codec error messages.

Загрузки
3K
Подписчики
23
Обновлён
22 июля 2026 г.
Лицензия
MIT

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

Codecium is a Fabric mod that vastly improves Codec error messages. This mod was made because most of the current error messages are not useful at all. The name is a play on the term Codec and the common use of periodic table elements for Minecraft mods.

Examples and Comparisons

Commands used:

  • /give @s minecraft:stick[minecraft:food={saturation: "text"}]
  • /item modify entity @s weapon {function: "minecraft:set_components", components: {"minecraft:rarity": "uncommon", "rarity": "rare"}}
  • /item modify entity @s weapon {function: "minecraft:set_enchantments", enchantments: {"minecraft:fake": "oops"}}

A comparison between error messages in vanilla and this mod.

Ченджлог

1.2.2+26.3Релиз26.3-snapshot-5, 26.3-snapshot-6 · 22 июля 2026 г.

Registry-related codecs now mention the registry it's part of when it cannot find an element or tag with a specific id. If those codecs mentioned a registry before, they now no longer do to prevent duplicate mentions of registries.

Changed messages:

Old New
Cannot get a holder with id {id} Cannot get a holder with id {id} from registry {registry}
Cannot get a registry tag with id {id} Cannot get a tag with id {id} from registry {registry}
Registry tag {tag} is not part of the current registry set Tag {tag} is not part of the current registry set
1.2.1+26.3Релиз26.3-snapshot-4 · 17 июля 2026 г.
  • Support 26.3 snapshot 4
1.2.0+26.1Релиз26.3-snapshot-1, 26.3-snapshot-2, 26.3-snapshot-3 · 26 января 2026 г.
  • Ported to 26.1 (preview 1 and above)
  • Changed a few error messages to mention 'holders' instead of 'registry entries'
1.1.0Релиз1.21.9, 1.21.10, 1.21.11 · 1 апреля 2025 г.

Codecium 1.1.0 for 1.21.5 - 1.21.11

Comes with a couple of improved messages and a single bug fix.

Fixes

  • Input is now no longer duplicated for list-related errors.

Changes

  • Updated to 1.21.5
  • Data component and registry entry error messages are now indented and on a new line. Note that these surrounding messages are translated and may differ based on your language used in the game. It also means that strange occurences with the messages themselves, such as the data component error message being surrounded by ', is not viably fixable.
  • Resource locations now have an improved error message. As a side effect, this change also improves resource location exception messages as a whole in places where it is still used.

Used commands:

  • /give @s minecraft:stick[minecraft:food={nutrition: "text"}]
  • /loot give @s loot {pools: "text"}
  • /item modify entity @s weapon {function: "example:INVALID_PATH"}

A comparison between changed error messages in vanilla and this mod for version 1.1.0 for 1.21.5.

1.0.0Релиз1.21.4 · 26 февраля 2025 г.

Initial release.

Комментарии

Загружаем…