All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Codecium

Codecium

by ErrorCraft • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

How to Install Codecium (Mod)

Codecium by ErrorCraft is verified for Fabric across Minecraft versions 1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9 (latest release: 1.2.3+26.4, file size: 144 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Codecium file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.4.x
Fabric
1mo ago 1
26.4.x 26.3.x
Fabric
4mo ago 1
26.3-snapshot-4
Fabric
4mo ago 1
26.3.x 26.2.x 26.1.x +1
Fabric
10mo ago 1
1.21.x
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
Ported to 26.4 snapshot 4 as that version came with changes to DFU.
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 |
  • Support 26.3 snapshot 4
  • Ported to 26.1 (preview 1 and above)
  • Changed a few error messages to mention 'holders' instead of 'registry entries'
# 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.](https://cdn.modrinth.com/data/cached_images/9c9f83000d250e79cb819f153468703922cd7af1.png)
[1.0.0] Codecium 1.0.0 by ErrorCraft on Feb 26, 2025
Download
Initial release.
Codecium Icon
Download Codecium
Select game version
Select platform