Using a Golden Dandelion on a baby animal that is age locked in order to remove the age lock will also remove its persistence, even if the animal should remain persistent due to other factors. (most notably, having a name tag applied to it)
This is caused by the method setAgeLocked in the AgeableMob class calling mob.setPersistenceRequired while only taking into account the age locking itself, and not other factors that should result in persistence.
Steps to reproduce:
Spawn, summon, or encounter a baby animal
Use the
/data get entitycommand to verify that itsAgeLockedvalue is0b, and itsPersistenceRequiredvalue is also0bUse a named Name Tag item to apply a name to the mob
Use the
/data get entitycommand to verify that itsPersistenceRequiredvalue has now become1b, as expected, indicating the mob will no longer despawnUse a Golden Dandelion item to lock the baby’s aging
Use the
/data get entitycommand to verify that itsAgeLockedvalue has now become1b, as expectedUse a second Golden Dandelion item to unlock the baby’s aging
Expected Result:
Using the
/data get entitycommand, you’ll see itsAgeLockedvalue has returned to0bas expected, and itsPersistenceRequiredvalue has remained1bdue to the baby having a name tag applied, preventing it from despawning
Actual Result:
Using the
/data get entitycommand, you’ll see itsAgeLockedvalue has returned to0bas expected, however itsPersistenceRequiredvalue has also become0b, meaning the baby can despawn again despite still having a name tag applied
when trying to run minecraft in the launcher nothing happens. when you then go and click launch again it says that the system is already running when it is in fact not running. i have tried everything. even reinstalling it.