Tags IsBaby and IsVillager can't be changed from true to false with /entitydata
Spawn a Zombie, and execute :
/entitydata @e[type=Zombie,r=5]
This do work, but when you try again:
/entitydata @e[type=Zombie,r=5]
This don't do anything, but the console output say that the value change.
Linked Issues
is duplicated by5
Created Issue:
Tags IsBaby and IsVillager can't be changed from true to false with /entitydata
Spawn a Zombie, and execute :
{IsBaby:1b,IsVillager:1b}
/entitydata @e[type=Zombie,r=5]This do work, but when you try again:
{IsBaby:0b,IsVillager:0b}
/entitydata @e[type=Zombie,r=5]This don't do anything, but the console output say that the value change.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
See MC-65953
The bug
Despite MC-65953 being fixed, the IsBaby entity tag for zoglins cannot be changed from true to false (or 1b to 0b) with /data.
Can confirm in 21w07a. Here are some steps to reproduce this issue:
To reproduce:
- Summon a baby zoglin
/summon zoglin ~ ~ ~ {IsBaby:1b} - Run the /data command:
/data merge entity @e[type=zoglin,limit=1,sort=nearest] {IsBaby:0b}→
"Modified entity data of Zoglin" is shown in chat but the mob still remains as a zoglin piglet.
The same happens with baby Zombie Pigmens and trying to do:
/entitydata @e[type=PigZombie]
{IsBaby:0}WAI per Searge:
As someone on the subreddit pointed out, entitydata hasn't been a command for awhile. Both entitydata and blockdata were replaced by /data. But from the console message he got I can see he used the right command in-game.
EDIT: also most baby creatures (the ones that aren't undead at least) also have an age timer with a negative value. When it reaches zero that causes them to turn to adults and now that the timer is into the positive numbers it's "age" is how long it's been an adult. Undead don't grow up (aging is a side effect of the wear-and-tear damage of being alive) and so baby undead don't use this timer. Presumably this is why changing its "IsBaby" tag isn't enough.
Tokes Why are you speculating on a bug that has already been fixed? Of course entitydata isn't around anymore, the obvious explanation is that the same bug was present with data merge.