mojira.dev
MC-250075

The inner two planes in mangrove roots are smaller than they should be

Relates to MC-236476

The resource pack attached offers a complete fix for this issue. Mojang have my full permission to (and are encouraged to) replace the affected vanilla model files with the contents of the resource pack.

Download resource pack:

  • 22w16b:

[media]

The bug

The two inner crossed planes which exist inside of mangrove roots do not stretch to the sides of the block. This results in several of the pixels not matchign up correctly between different parts of the block, and also distorts the shapes of the pixels slightly.

Specifically, this is due to the texture planes in question spanning from 0.8 to 15.2, rather than the 0 to 16 that would be expected for this block.

This strongly implies that the mangrove roots model was created by splicing part of the existing "cross" model (with element rotations removed) into what appears to be the powder snow model, as the cross model has planes that span between these two values as to not have their texture planes appear too wide. However, in the mangrove roots block's case, this is pointless and causes avoidable problems.

How to reproduce

  1. Place mangrove roots

  2. Look very closely at the top and bottom

Expected results

The inner two planes would align pixel-perfectly with the top and bottom planes of the block.

Actual results

There is a very significant "desynchronization" between the pixels on the inner cross and the rest of the block, intensifying as the distance from the center increases.

How to fix

This is a very easy fix - all of the "0.8" values in the model should be changed to "0" and every "15.2" to "16".

Alternatively, the resource pack attached to this ticket can be used instead, which also fixes MC-250076.

Further notes

The "inverse" of this fix (i.e. changing element dimensions from "0 to 16" to "0.8 to 15.2") can be used to fully fix MC-236476, a bug I'd strongly recommend looking at again because it's a very, very easy fix.

Attachments

Comments

Avoma

I can confirm this behavior.

[media]

muzikbike

Chi Wong

Community Consensus

Low

Textures and models

incorrect-model-element-sizes, incorrect-pixel-sizes

22w14a

22w17a

Retrieved