Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Model Gap Fix

Model Gap Fix

Fixes gaps in Block Models and Item Models

11.38M
2,755
Optimization
Utility
AboutChangelogVersions

Model Gap FIX

This is a simple client mod that 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, making every model face use 100% of its texture, unlike of what it did previoulsly.

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

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

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.3–1.20.4
1.20–1.20.1
1.19.x
1.18.1–1.18.2

Platforms

Fabric
Forge
NeoForge
Quilt

Supported environments

Client-side

Links

View source

Creators

MehVahdJukaar
MehVahdJukaar Owner

Details

Licensed GPL-3.0-only
Published 2 years ago
Updated last month

Modrinth is open source.

main@a0bd011

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.