Back to mods
Model Gap Fix project artwork

CurseForge · Minecraft mod

Model Gap Fix

Fixes gaps in Block Models and Item Models

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

Quick answer

Which Model Gap Fix release should I use?

Updated 9 months ago
Latest stable file modelfix-1.21.10-1.12-fabric.jar
Game version 1.21.10
Loader Fabric

Model Gap Fix modelfix-1.21.10-1.12-fabric.jar targets 1.21.10 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. 1 required mod needs a matching file.

Where it goes

Is Model Gap Fix required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
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 does not explicitly classify this release as client-only or server-only.

What else does Model Gap Fix modelfix-1.21.10-1.12-fabric.jar need?

modelfix-1.21.10-1.12-fabric.jar. Change the file and its required mods may change too.

1 required mod needs a matching file

Install Fabric API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

Fabric API Needed by Model Gap Fix modelfix-1.21.10-1.12-fabric.jar
required
No matching file

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Model Gap Fix without breaking your instance.

Built for Model Gap Fix modelfix-1.21.10-1.12-fabric.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use modelfix-1.21.10-1.12-fabric.jar. It targets 1.21.10 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside modelfix-1.21.10-1.12-fabric.jar. It opens that exact file at the source.

About this project

What does Model Gap Fix add?

Model Gap FIX

This is a simple client mod that (attempts) fixes https://bugs.mojang.com/browse/MC-73186

which affects both Block Models and Item Models and possibly other models too

The mod works by removing "texture zooming", a feature of the game added to mitigate another issue, atlas bleeding.

With it on the game will stretch each texture a bit, making every model face not use its entirety to prevent neighboring textures to "bleed" into itself.

When the mod is on each quad texture will take up exactly 100% of its own texture area.

This not only fixes this bugs on items (where it's most noticeable) but with block models too and everything else that might use those functions.

NOTE:

This "fix" seems to work on many systems and setups that are not effected by atlas bleeding. Unfortunately its not all so if you see textures bleeding onto neighboring blocks this mod is not for you.

This issue was especially noticeable with custom block models or some 2d items.

Q&A:

  • Will this slow down my game?

Not at all! Removing "texture zooming" just removes some code and has no impact. If you however want to be nit picky the mod also slightly tweaks item models in a way that could add a ouple more quads for concave item textures compared to vanilla so in that case it could very slightly worse that vanilla. This is however negligible and could only be an issue when trying to run high resolution packs

  • How does this work?

The base fix is simply removing texture zooming. This is extremly simple to do and immediately "fixes up" all those problematic gaps on models.

Such a feature was in the game to prevent an artifact called "atlas bleeding" which makes the edges of a texture bleed into the one next to it on the texture atlas. From my testing however this issue isnt present for most hardwares so the mod just gets rid of it. If you experience such an issue just uninstall the mod. Note that it has been reported that on many mac os such an issue is present so the mod "takes care" of that by simply disabling its main fix only keeping the slight item model adjustment. This isnt ideal but can somewhat reduce the gaps altho just in item models
For 2d item models something else is needed as this alone creates another kind of tiny gaps in them due to the way they are generated, quad by quad. These are very tiny and they flicker so I had to fix those too. To do so I've changed the item model generator to never create a quad that encompasses a transparent pixel and instead create multiple quads for each row of solid pixel in the same direction. This allows me to slightly increase the size of all these side quads without creating new gaps in the process, thus covering all gaps seamlessly. Note that this last part only applies to forge as fabric does not seem to have such tiny lines and the models work right away with no extra quad

  • I still see some lines

If you do these are different from the ones that you would normally see and usually are extremely tiny in the range of single pixels. From my understanding these appear due to some rounding errors and vary on the system you are in. To get rid of them you can access the mod configs and slightly tweak the 2 values until they disappear

Project description from CurseForge.

Pick your setup

Model Gap Fix by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

54 available setups

Showing the newest 12 of 22 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Model Gap Fix versions and loaders

32 of 32 releases match

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