mojira.dev
MC-175800

Custom heads no longer work properly

Mod Notice

In 20w12a, the format of UUIDs in NBT changed. Any existing heads will be updated automatically, but commands need to be corrected to the new format for items to work properly.

To fix existing commands, change the Id tag from a hex UUID to an int array of the form Id:[I;1,2,3,4].

You can convert UUIDs using this website: https://www.soltoder.com/mc-uuid-converter/

Alternatively, just replace Id with an int array of any four random numbers, as long as they're unique for each head you do this to.

So what I've noticed when using the newest snapshot is that you cant summon in custom heads anymore and instead they show up as regular Steve heads but renamed. 

 

I am not a program wiz, but I do think that the changes made here with UUId being written differently is what's causing it. 

 

I understand this might not be an issue but since custom heads are a major thing, I brought its attention.

Thank you,

DS

Linked issues

Attachments

Comments 11

Please provide the exact command used.

Unable to reproduce the problem.

use command below replacing PlayerName with any valid name of player:

/give @p minecraft:player_head{SkullOwner:"PlayerName"} 1

oh ofcourse. I meant commands from custom head websites (https://minecraft-heads.com/custom-heads), (https://freshcoal.com/). Using any custom head command results in just a basic Steve head. What I'm asking is basically if that'll be fixed or is there ways around it to get the custom head from those websites. Which normally go something like this:

 

Example command block head:

/give @p minecraft:player_head{display:{Name:"{\"text\":\"Command Block\"}"},SkullOwner:{Id:"49294f1c-de42-4164-80a9-850cc0d06926",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDE3NDM0OWY3OTMxMWQxMDRkNzkxN2QzMmJmN2EwZGNlZTQyMzQyMWNhOWU4YTEzMWYyZDQwMmEzYzUzODU3MiJ9fX0="}]}}} 1

I can replicate. 

huh. Upon pasting the command in the latest snapshot (20w12a), this is the result. The block that is should be is this (https://minecraft-heads.com/custom-heads/decoration/35309-command-block).

[media][media]
1 more comments

Please contact the site owner and ask them to update their commands.

The UUID needs to be in the new format:

{SkullOwner:{Id:[I;1,2,3,4]}}

Along with that a couple of fields have been renamed:

  • OwnerUUID of tamed animals, area effect clouds, evoker fangs and projectiles is now simply Owner

  • TrustedUUIDs of foxes is now Trusted

  • target_uuid of conduits is now Target

And for attributes, they've been renamed as well:

generic.maxHealth -> generic.max_health
zombie.spawnReinforcements -> zombie.spawn_reinforcements
horse.jumpStrength -> horse.jump_strength
generic.followRange -> generic.follow_range
generic.knockbackResistance -> generic.knockback_resistance
generic.movementSpeed -> generic.movement_speed
generic.flyingSpeed -> generic.flying_speed
generic.attackDamage -> generic.attack_damage
generic.attackKnockback -> generic.attack_knockback}}
generic.attackSpeed -> generic.attack_speed
generic.armorToughness -> generic.armor_toughness}}

the generic.armor however remains the same.

Ah I see, well thank you for the help!

It should work for manually updating your heads in-game too. As far as I know, these kind of sites just use random UUIDs to avoid cache conflicts and don't actually point to any particular account. So you can literally just replace the ID with Id:[I;363829,1929,837382,72636] or whatever 4 random numbers you want for each head, as long as they're different.

I dont understand you trayshtar, sorry :c

Dimo

(Unassigned)

Unconfirmed

(Unassigned)

20w12a

Retrieved