Mojira Archive
MC-73178

Villagers' "CanPickUpLoot" tag cannot be set to zero

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.