mojira.dev
MC-94576

(Player) Head in inventory causes buggy rendering of certain inventory slots, potion effect display and attack cooldown

If you have one or more custom player skulls in your inventory, the off-hand slot background will change to display a strange white, black, and gray texture, unless:

  • You have moused over a slot equal to or later than the last slot containing a custom head.

  • There is an item in a slot after the last slot containing a custom head.

  • There is an item in the off-hand slot.

Additionally, if a custom skull is placed in the helmet slot, all other armor slots will gain a black background. Mousing over one of the armor slots or placing a piece of armor in one of them fixes all later armor slots, but color shifts the background of the armor slot in question to different shades of gray. Also, If a custom player head is the last item in your hotbar, the attack strength indicator has a solid black background instead of being transparent.

This bug affects both creative and survival game modes.

To reproduce:

    • Give yourself a custom skull with the command

      /give @p skull 1 3 {SkullOwner:AnyPlayerName}
    • Also the head from the creative inventory works

  1. Mess around with it in your inventory.

Linked issues

MC-94994 Armor and off-hand slot bug out. Resolved MC-95056 Inventory shield slot shows garbage when only a head is in the inventory Resolved MC-95584 Wearing player skulls causes armour slot graphical glitch. Resolved MC-96086 Weird texture shows up in offhand inventory slot when I get a head with a damage value of 3 Resolved MC-96330 Head (Any type) Bug Resolved

Attachments

Comments 14

[Mod] redstonehelper

Affects armor slots as well. Attaching screenshot.

edit: Since you are still updating the description please include something about armor slots.

Updated the description and title.

SnipUndercover

Confirmed for these 15w51a and b, bug doesn't exist in older versions, such as 15w50a and lower

[Mod] violine1101

Confirmed for 16w03a

Samuel Poulton

Do you use OptiFine or similar?
I have the same issue with OptiFine.

4 more comments

Confirmed, I thought at first it's a problem with my custom GUI texturepack, somewhat glad it isn't as I couldn't find a fix.
The potion effect background gets a white overlay in my case, I can also confirm inventory overlays/problems.
It only applies to ANY custom heads for me, not only playerheads. Ingame skulls are not affected, it seems.

2 comparison Screenshots (custom head + ingame skull) attached.

Give-Command for a custom-made non-player head:

give @p minecraft:skull 1 3 {SkullOwner:{Id:4ee3b250-2313-3d1c-1eab-1a989ee2d051,Properties:{textures:[{Value:eyJ0aW1lc3RhbXAiOjE0NjM0NDU1MjQxMjksInByb2ZpbGVJZCI6IjUwNzk4YjJhN2QxYjQxYTRiNmFlYzRiNWUwOWJjMTcxIiwicHJvZmlsZU5hbWUiOiJFbHN3ZXlyIiwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzNiOWY2YzdmYzMxZDJmOTg0NDM4MTJiMmQ5MWFhM2VjYzlhMTQ2OGIzZWRhYTE4YTkyN2FlMGI3YzJjNGM2In19fQ== }]}}}
[Mod] violine1101

Still in 16w20a

[Mod] violine1101

Still in 16w21a

confirmed for 16w21b

[Mod] violine1101

Still in 1.10-pre1

AjaxGb

migrated

Confirmed

Minecraft 15w51a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w04a, ..., Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1

Minecraft 1.10 Pre-Release 2

Retrieved