mojira.dev
MC-298917

Default summoned villager has CanPickUpLoot set to 0

Villagers summoned via the /summon command have their CanPickUpLoot tag set to 0b by default.

Villagers from natural generation, breeding, spawn eggs, and curing zombie villagers (whose CanPickUpLoot is 0b by default) have their tag set to 1b as expected.

Reproduction Steps:

  1. Run /summon villager ~ ~ ~

  2. Run /data get entity @e[type=villager, sort=nearest, limit=1] CanPickUpLoot

Then the game shows the tag has data 0b.

Expected Result:

The game shows the tag has data 1b.

Replacing step 1 with other methods to obtain a villager as listed above also yields the expected result.


Versions:

I couldn’t find other versions when creating this ticket, but I was able to reproduce this in 1.21.4, 1.21.5, and 1.21.6.

Trying this in 1.21.3 gave the expected result.

Linked issues

Comments 0

No comments.

WaterGenie3

(Unassigned)

Unconfirmed

(Unassigned)

1.21.6

Retrieved