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

Villagers' "CanPickUpLoot" tag cannot be set to zero

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w34a
    • Minecraft 1.8, Minecraft 1.8.1-pre2, Minecraft 1.8.8, Minecraft 15w42a, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 16w15b, Minecraft 1.10.2, Minecraft 16w33a, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12.2, Minecraft 18w15a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, 1.15.2, 20w06a, 20w17a, 1.16.1, 20w28a, 1.16.2, 1.16.4, 20w46a, 20w51a, 21w03a, 21w05b, 1.17.1, 21w41a, 21w42a, 21w43a, 1.18 Pre-release 1, 1.18 Pre-release 7, 1.18, 1.18.1, 22w03a, 22w05a, 22w06a, 22w07a, 1.18.2 Release Candidate 1, 1.18.2, 22w17a, 1.19, 1.19.1, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 24w11a, 1.21
    • Confirmed
    • Commands, Entities
    • Low
    • Platform

      The Bug:

      Villagers' "CanPickUpLoot" tag cannot be set to zero.

      Steps to Reproduce:

      1. Summon a villager with its "CanPickUpLoot" tag set to "0b" by using the command provided below.
        /summon minecraft:villager ~ ~ ~ {CanPickUpLoot:0b}
      2. Inspect the value of the "CanPickUpLoot" tag by using the command provided below.
        /data get entity @e[type=minecraft:villager,limit=1,sort=nearest] CanPickUpLoot
      3. Take note as to whether or not villagers' "CanPickUpLoot" tag can be set to zero.

      Observed Behavior:

      Villagers' "CanPickUpLoot" tag cannot be set to zero.

      Expected Behavior:

      Villagers' "CanPickUpLoot" tag would be able to be set to zero.

        1. MC-73178.mp4
          6.00 MB
          [Mod] Avoma
        2. MC-73178.png
          705 kB
          [Mod] Avoma

            Dat12 [Mojang] etanaratsastaja
            Avoma [Mod] Avoma
            Votes:
            29 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: