mojira.dev
MCPE-153500

Drowned skin overlay overwrites the helmet texture

the bug is made when the zombie with a helmet is transformed into a drowned or throwing a helmet to the drowned. sometime this texture just glitches through the drowned's head or just appears in the small bits of the head where the drowned doesnt have the head overlay. shown in the screenshots below.

Linked issues

Attachments

Comments 2

GoldenHelmet

Earlier reports of this issue were lumped in with MCPE-74242, but that report was written explicitly for illagers and the fix only addressed illagers. The fix for that issue, however, was just to make armor invisible on illagers. That does not seem appropriate for drowned because other zombie variants render armor and drowned have the ability to pick up and equip armor in vanilla survival.

 

GoldenHelmet

The cause of this issue is that the vanilla resources \models\entity\drowned.geo.json inflates the head and hat bones by an extra half pixel:

{
          "name": "head",
          "parent": "body",
          "pivot": [ 0.0, 24.0, 0.0 ],
          "cubes": [
            {
              "origin": [ -4.0, 24.0, -4.0 ],
              "size": [ 8.0, 8.0, 8.0 ],
              "uv": [ 0, 0 ],
              "inflate": 0.5
            }
          ]
        },
        {
          "name": "hat",
          "parent": "head",
          "pivot": [ 0.0, 24.0, 0.0 ],
          "cubes": [
            {
              "origin": [ -4.0, 24.0, -4.0 ],
              "size": [ 8.0, 8.0, 8.0 ],
              "uv": [ 32, 0 ],
              "inflate": 1.0
            }
          ]
        },

As far as I can tell this is simply a mistake (a plausible explanation is that the "head" was accidently given the inflation of the "jacket" part listed just before by copy-pasting, and then when the "hat" didn't look right the "hat" was given an extra inflation to compensate). I don't see any problems after matching the inflations to other humanoids:

[media]

Here is the corrected data:

{
          "name": "head",
          "parent": "body",
          "pivot": [ 0.0, 24.0, 0.0 ],
          "cubes": [
            {
              "origin": [ -4.0, 24.0, -4.0 ],
              "size": [ 8.0, 8.0, 8.0 ],
              "uv": [ 0, 0 ],
              "inflate": 0.0
            }
          ]
        },
        {
          "name": "hat",
          "parent": "head",
          "pivot": [ 0.0, 24.0, 0.0 ],
          "cubes": [
            {
              "origin": [ -4.0, 24.0, -4.0 ],
              "size": [ 8.0, 8.0, 8.0 ],
              "uv": [ 32, 0 ],
              "inflate": 0.5
            }
          ]
        },

migrated

(Unassigned)

348774

Confirmed

Multiple

Windows 10

1.16.220.50 Beta, 1.18.12 Hotfix, 1.19.21 Hotfix, 1.19.63, 1.20.60.23 Preview, 1.20.51 Hotfix, 1.21.41 Hotfix

Retrieved