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:
- Summon a pillager:
/summon minecraft:pillager
- Observe it's CanPickUpLoot data:
/data get entity @n[type=minecraft:pillager] CanPickUpLoot
→ Data is True
- Try and modify it:
/data modify entity @n[type=minecraft:pillager] CanPickUpLoot set value false - Repeat step 2
Expected Result:
The data would be changed to False.
Observed Behavior:
The data is not changed.
Created Issue:
unnatural pillagers have an untoggleable CanPickUpLoot tag
when attempting to /summon in a pillager it will have the CanPickUpLoot as 1b
same goes for pillager_spawn_eggs that are given to the player via commands with EntityTag data (even if it's empty)
Any attempts to change this via including CanPickUpLoot:0b or CanPickUpLoot:false in the command fail to change the outcome.
and yes, /data modify also fails to alter their state.
Environment
Java
Java
when attempting to /summon in a pillager it will have the CanPickUpLoot as 1b
same goes for pillager_spawn_eggs that are given to the player via commands with EntityTag data (even if it's empty)
Any attempts to change this via including CanPickUpLoot:0b or CanPickUpLoot:false in the command fail to change the outcome.
and yes, /data modify also fails to alter their state.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:
- Summon a pillager:
/summon minecraft:pillager- Observe it's CanPickUpLoot data:
/data get entity @n[type=minecraft:pillager] CanPickUpLoot→ Data is True
- Try and modify it:
/data modify entity @n[type=minecraft:pillager] CanPickUpLoot set value false- Repeat step 2
Expected Result:
The data would be changed to False.
Observed Behavior:
The data is not changed.
unnaturalpillagers have an untoggleableCanPickUpLoot tagSummoned pillagers have an untoggleable CanPickUpLoot tag









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.
Relates to
MC-73178