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-99186 Black armour slot MC-98349 armor slot bug! MC-98748 Player heads. MC-94994 Armor and off-hand slot bug out. MC-95056 Inventory shield slot shows garbage when only a head is in the inventory MC-95584 Wearing player skulls causes armour slot graphical glitch. MC-96086 Weird texture shows up in offhand inventory slot when I get a head with a damage value of 3 MC-96330 Head (Any type) Bug MC-96819 Buggy status effect texture while holding a player head MC-97520 Status effect box visual glitch when selecting Steve head in inventory MC-97652 Player head inventory error MC-97870 off hand icon is glitchy MC-98238 if i have a poeple head on of in my inventory there is a weard black glitch MC-98344 Custom player head MC-99545 Shield slot looks weird when holding custom head. MC-99571 Attack and Offhand slots become black when player skulls are held MC-99654 Armor slots go black while equiped a block on the head MC-99677 Black Colour In Creative MC-99824 Shield Slot Texture Error MC-99923 Weapon Charging MC-99934 Graphical glitch involving GUIs and custom heads MC-100075 Inventory Graphical Glitches. MC-100123 if wearing custom heads armor slots get black MC-101131 Texture error MC-101132 Flashing Inventory MC-101346 GUI error with Steve head MC-102031 Sheild slot turned black MC-102853 Player's inventory display bug MC-102932 Inventory Black Glitch MC-102953 Secondary Hand Slot Glitches in Minecraft Mac 1.10 pre-1

Attachments

Comments

migrated

Affects armor slots as well. Attaching screenshot.

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

AjaxGb

Updated the description and title.

migrated

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

violine1101

Confirmed for 16w03a

migrated

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

migrated

using optifine or not doesn't matter in this case, it's a vanilla bug

migrated

This doesn't happen in 1.9.2 anymore, so it has probably been resolved.

migrated

The issue is still there for me, take a look at the screenshots, and reenact them, You'll see tge issue.

violine1101

Still in 1.9.4

migrated

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== }]}}}
violine1101

Still in 16w20a

violine1101

Still in 16w21a

migrated

confirmed for 16w21b

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