What are you searching for?

Model Gap Fix

Model Gap Fix

Fixes gaps in Block Models and Item Models

download 23.8M Downloads · favorite 3,701 Followers · Updated 3 months ago
Fabric Forge Neoforge Optimization Quilt Utility 1.18.1 1.18.2 1.19 1.19.1 1.19.2 +15 more

Versions

inventory_2
1.21.10-1.12

1.21.10-1.12 · 3 months ago · 64.87 KB

Release download
Fabric 1.21.10
inventory_2
1.21.5-1.12

1.21.5-1.12 · 10 months ago · 45.80 KB

Release download
Neoforge 1.21.5 1.21.6 1.21.7
inventory_2
1.21.5-1.12

1.21.5-1.12 · 10 months ago · 64.86 KB

Release download
Fabric 1.21.5 1.21.6 1.21.7
inventory_2
1.21.5-1.12

1.21.5-1.12 · 10 months ago · 45.80 KB

Release download
Neoforge 1.21.5
inventory_2
1.21.5-1.12

1.21.5-1.12 · 10 months ago · 64.86 KB

Release download
Fabric 1.21.5

About

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

 

open_in_new View on Modrinth
Compatibility
Client: Required Server: Unsupported
gavel GPL-3.0-only

Conversation

What are your thoughts?

Related projects

Optimization
Sodium
Sodium

by jellysquid3

The fastest and most compatible rendering optimization mod for Minecraft. Now available for both NeoForge and Fabric!

download 117.8M
favorite 32,752
Decoration Optimization
Iris Shaders
Iris Shaders

by coderbot

A modern shader pack loader for Minecraft intended to be compatible with existing OptiFine shader packs

download 90.1M
favorite 23,748
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.0M
favorite 12,704
Optimization
Entity Culling
Entity Culling

by tr7zw

Using async path-tracing to hide Block-/Entities that are not visible

download 83.6M
favorite 13,745
lock Cookie consent

SkinMC uses cookies to provide functionality and features.