Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-250075

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

    XMLWordPrintable

Details

    • Community Consensus
    • Textures and models
    • Low

    Description

      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:

      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

        1. MC-250075.png
          MC-250075.png
          158 kB
        2. mangrove-roots-fix-22w16b-v1.0.zip
          1 kB
        3. 2022-04-09_19.39.28.png
          2022-04-09_19.39.28.png
          183 kB
        4. 2022-04-09_19.39.18.png
          2022-04-09_19.39.18.png
          116 kB
        5. 2022-04-09_19.38.43.png
          2022-04-09_19.38.43.png
          60 kB
        6. 2022-04-09_19.38.33.png
          2022-04-09_19.38.33.png
          73 kB

        Activity

          People

            wChi [Mojang] Chi Wong
            Awesoman3000 Connor Steppie
            Votes:
            5 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: