Back to mods

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.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Canvas Bug Fix release matches 1.18.2?

Updated 1 year ago
Best match for your filters 1.0.9
Game version 1.18.2
Loader Fabric

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.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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 on 1.18.2. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Canvas Bug Fix 1.0.9
required
Matching file found Matched file: [1.18.2] Fabric API 0.77.0+1.18.2

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 on 1.18.2. Pick another file and the loader, install side or required mods may change.

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

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 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 available setups

Check 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 of 1 releases match

Looking for an older file? The official Modrinth project page is in Resources.