mojira.dev
MC-279091

Villagers summoned using commands with CanPickUpLoot unspecified do not pick up items

Villagers spawned via command do not pick up items, such as bread or carrots. Villagers spawned naturally or with spawn egg are fine.

Linked issues

Attachments

Comments 6

CanPickUpLoot defaults to 0b/false,set it to 1b/true. 

Use this command:

/summon villager ~ ~ ~ {CanPickUpLoot:1b}

Please refer to the previous comments, this issue is Invalid for being user error.

Issue is present in 25w17a

ignore prior comment, I’m testing with mobGriefing false.

however, this does highlight an issue with mobGriefing where villagers will get stuck trying to pickup items when they are not allowed to.

[media]

Retitled the issue to make things clearer

Aliyah Uhlig

(Unassigned)

Unconfirmed

(Unassigned)

1.21.4

Retrieved