Modrinth · Minecraft mod
Canvas Bug Fix
Forcefully fixes two bugs that are sometimes prominent in modpacks related to NaN saturation values & loot-generated items with incompatible enchantments.
Quick answer
Which Canvas Bug Fix release should I use?
Canvas Bug Fix 1.0.9 targets 1.18.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.
Where it goes
Is Canvas Bug Fix required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Canvas Bug Fix 1.0.9 need?
1.0.9. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Canvas Bug Fix without breaking your instance.
Built for Canvas Bug Fix 1.0.9. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.9. It targets 1.18.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.9. It opens that exact file at the source.
About this project
What does Canvas Bug Fix add?
A mod dedicated for my Canvas modpack that forcefully fixes two bugs that are sometimes prominent in 1.18.2 fabric modpacks related to NaN saturation values & generated items with incompatible enchantments.
For whatever reason saturation on the server-side can reach negative or incorrect values, especially in modpacks. This is almost impossible to detect and very annoying to test, even with a thorough binary search. This weird behavior is now fixed. Upon detecting invalid (NaN/Infinite) saturation value, it will reset the player's saturation value back to normal (4).
Fixed illegal enchanted items from generating; when using mods that add various different enchantments the game would sometimes ignore the coded incompatabilities with one another onto a loot-generated item, including hardcoded ones from vanilla. Even mods like Enchantment Groups that restructure enchantment (in)compatibilites for modpacks wouldn't work. This mod automatically reads from the game what enchantments are suppose to be incompatible with one another and properly corrects this behavior. For example, Protection and Fire Protection on an item will have one of them removed randomly when detected on an armor piece. Enchanted books are ignored, but when put into an anvil with an item it will fix itself post-combination. It should be compatible with every enchantment mod.
Project description from Modrinth.
Pick your setup
Canvas Bug Fix by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.18.2
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Canvas Bug Fix versions and loaders
1.0.9
canvas-bug-fix-1.0.9.jar
2 Jul 2025
Looking for an older file? The official Modrinth project page is in Resources.