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:pillagerObserve it's
CanPickUpLootdata:/data get entity @n[type=minecraft:pillager] CanPickUpLoot→ Data is
TrueTry and modify it:
/data modify entity @n[type=minecraft:pillager] CanPickUpLoot set value falseRepeat step 2
Expected Result:
The data would be changed to False.
Observed Behavior:
The data is not changed.
Attachments
Comments 6
Relates to MC-73178
Please provide a screenshot of your game with the F3 debug screen enabled.