Loading...
Beta Modpages Unclaimed

Model Gap Fix

Fixes small gaps in item and block models

0 Likes
10785112 Downloads
Created by MehVahdJukaar

Description

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



 

 

 


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Quark

A Quark is a very small thing. This mod is a collection of small things that improve the vanilla minecraft experience.

Chisel

A builder's best friend.

Better Advancements

Successor to BetterAchievements for the new advancements system in minecraft 1.12+

Cosmetic Armor Reworked

This mod allows you to wear two sets of armor, one for display, one for function.

Macaw's Doors

Adds vanila doors with every wood color and new unique doors!

MalisisDoors

New animations for doors. You can build you own doors with millions of possibilities!

Macaw's Roofs

Build roofs with actual roofs instead of stairs!