Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-199256

Summoned pillagers have an untoggleable CanPickUpLoot tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.2, 1.16.3, 20w51a, 21w03a, 1.16.5, 21w08b, 1.21
    • Confirmed
    • (Unassigned)

      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.

        1. 2020-08-29_16.55.52.png
          2020-08-29_16.55.52.png
          200 kB
        2. 2020-08-29_16.55.32.png
          2020-08-29_16.55.32.png
          177 kB
        3. 2020-08-29_16.53.18.png
          2020-08-29_16.53.18.png
          171 kB
        4. 2020-08-29_16.53.05.png
          2020-08-29_16.53.05.png
          171 kB
        5. 2020-08-29_16.52.35.png
          2020-08-29_16.52.35.png
          182 kB
        6. 2020-08-29_16.52.24.png
          2020-08-29_16.52.24.png
          305 kB
        7. 2020-08-29_16.51.57.png
          2020-08-29_16.51.57.png
          173 kB
        8. 2020-08-29_16.50.30.png
          2020-08-29_16.50.30.png
          188 kB
        9. _BugTracker_ (1.21).png
          _BugTracker_ (1.21).png
          425 kB

            Unassigned Unassigned
            Prestigious_Unit adam plante
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: