mojira.dev
MC-199256

Summoned pillagers have an untoggleable CanPickUpLoot tag

when attempting to spawn in a pillager, it will have the CanPickUpLoot data set as 1b/true, and cannot be changed. The same goes for pillager_spawn_eggs that are given to the player via commands with EntityTag data (even if it's empty).

Steps to Reproduce:

  1. Summon a pillager:

    /summon minecraft:pillager
  2. Observe it's CanPickUpLoot data:

    /data get entity @n[type=minecraft:pillager] CanPickUpLoot

    → Data is True

  3. Try and modify it:
    /data modify entity @n[type=minecraft:pillager] CanPickUpLoot set value false

  4. Repeat step 2

Expected Result:

The data would be changed to False.

Observed Behavior:

The data is not changed.

Attachments

Comments 6

Please provide a screenshot of your game with the F3 debug screen enabled.

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 26.3 Snapshot 7.

migrated

(Unassigned)

Confirmed

CanPickUpLoot, pillager, spawn, summon

1.16.2, 1.16.3, 20w51a, 21w03a, 1.16.5, 21w08b, 1.21

Retrieved