There is a massive lagspike while the game tries to load a player head texture. This can even lead to the game completely freezing if the game is in offline mode or the player the skin is supposed to be loaded from doesn't exist.
To reproduce
Existing player
Delete the skin cache in
.minecraft/assets/skins
Run
/give @s minecraft:player_head{SkullOwner:jeb_}
→ ❌ If you're offline, your game will freeze completely, otherwise it will take a second or two before the skin is loaded and the game continues.
Non-existing player
(from MC-216347)
Run
/give @s minecraft:player_head{"SkullOwner":{"Name":"Notarealplayersnameplsfixthismojang","Properties":{"textures":[{"Value":"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmQzNGIzZTI3YTNmZTUzODI3YjM3YWQ1OTU2YWNjYTA4ZjI4NjNjNjkyNmNjOTcxMTZkZGEzMzQ4Njk3YTVhOSJ9fX0"}]}}}
Place the player head down
→ ❌ The game freezes
Note
For some more detailed explanation read the content of the duplicate MC-132437.
Code analysis
A code analysis by @unknown with further explanation of this bug can be found in MC-216347.
Linked issues
is duplicated by 11
relates to 2
Attachments
Comments 27
Where's the differenct to MC-52653 ? Edit: Removed loop in the space-time-continuum
@unknown wrote there today
Fixed in 14w32b.
You linked the wrong bug, I think. Anyway, the difference to that one is my reported bug only happens when initially❓ giving a player head, the other bug happens anytime when placing any player head.
edit: You meant to link MC-52653.
Confirmed for
1.8 Probably everytime the game loads skulls (also when old worlds with skulls gets opened in newer versions)
1.8.3
Can this be reproduced twice in a row with the same skull? And is it 100% consistent? (If the answer is no to both this bug seems similar to a few other bugs, one of which may have caused this one)
Probably intended, since the skin downloading is not instant.