mojira.dev
MC-107432

When summoning a Shulker, it is on default spawned in white

When summoning a shulker it has the wrong colour.

Steps to reproduce:
1. Place a coloured shulker box
2. Summon a shulker (/summon Shulker)

Linked issues

MC-107602 /summoned Shulkers default to white Resolved MC-107641 Summoning a shulker summons a white, living shulker Resolved MC-107839 Summoning a Shulker will default it's colour as white Resolved MC-107875 Shulker Bug? Resolved MC-107980 Gray Shulkers Resolved

Attachments

Comments 10

You should add a Color tag:

/summon minecraft:shulker ~ ~ ~ {Color:10}

What, it should spawn the default shulker! Now you cant summon them! Please reopen

Use the command I provided ^

Oh, I thought it was a suggestion. But anyways it should summon thd default shulker!

It does: the default number in a tag is 0. This means that the default shulker is white, the default mob drowns in water immediately (MC-78527) and default count of items (in Item entity) is 0 => you can't pickup summoned item pre-16w32b and you can't even summon it in 16w32b (and later) without giving it at least Count:1 (e.g. /summon Item ~ ~ ~ {Item:{id:minecraft:stone}})

Ok, they should really change all of those stuff

That isn't strictly true. Stuff like, say, Size for slimes or Profession for villagers is randomized when no other NBT is given, and Pumpkin, for example, for snowmen defaults to one unless specified otherwise.

It just seems that zero happens to be the default for this tag.

I think I understand the point that Mar Cus is trying to get across and if it were to be executed as a fix, it would fix the issue.

I think Mar Cus was suggesting that in a future update perhaps to have the console command work in terms of spawning a Purple Shulker without adding the color NBT value tag, switch/swap the color values associated with the color NBT tag values 0 (White) and 10 (Purple), and then switch the color tag for all naturally spawning shulkers from 10 to 0, which would convert the Shulkers back to purple after the ingame code change.

This way, when a command like so would be used: /summon shulker ~ ~1 ~ and the color NBT tag would not be defined, Purple, not White would be the default color regardless and the console command spawned Shulker would spawn in as purple, because then Purple would be the default value for 0 in the color NBT tag, not white. Seems like a simple fix.

I do see the post dates, however, this idea would fix this bug.

This was fixed in 1.17 (MC-234046).

Mar cus

Erik Broes

Unconfirmed

Minecraft 16w39a

Retrieved