mojira.dev
MCPE-171363

No ID for Piglin Head

There's no ID for Piglin Head such as Metadata When using /give or /clear as all the other heads (skulls) it's 1 2 3 4 or 5 /give @s skull 1 6, skull [Amount] [Data:int] recieve error Invalid command syntax: no such skull exists with that data value

 

Steps to reproduce

Open Chat or command block

Type /give @p skull 1 6 

Or /clear @p skull 6 1

Hit enter

Linked issues

Comments 2

A way we could fix this bug is to have all the skull data values split into separate identifiers.

According to the changelog:

"skull" has been split into 7 unique instances: "skeleton_skull", "wither_skeleton_skull", "zombie_head", "player_head", "creeper_head", "dragon_head", "piglin_head"

This is no longer reproducible as of preview 1.21.40.20, as running the command will now give you the head/remove it from your inventory.

BuzzingSniper38

(Unassigned)

1054538

Confirmed

Multiple

10.0.22621.4896 (xb_flt_2306ni_230601-2200)

1.20.10.21 Preview, 1.20.0, 1.20.10, 1.20.41 Hotfix, 1.21.20.24 Preview, 1.21.20.21 Preview, 1.20.71 Hotfix, 1.21.1 Hotfix, 1.21.23 Hotfix

1.21.40.20 Preview, 1.21.40

Retrieved