I spawned a chicken jockey with persistent required. It lay eggs
Comments 5
/summon Chicken ~ ~1 ~ {Passengers:[{id:Zombie,IsVillager:1,PersistenceRequired:1b,LeftHanded:0,CanPickUpLoot:0b,IsBaby:1}]}
A chicken is not considered a true chicken jockey just by having a zombie is riding it. You need to set the IsChickenJockey
tag to 1 for the chicken. Persistence is unrelated and only stops the zombie from despawning.
As well, IsVillager
is deprecated. You should be using ZombieType
instead, where a value of 0 is a regular zombie, 1-5 are the different villager professions, and 6 is a husk zombie.
/summon Chicken ~ ~1 ~ {IsChickenJockey:1b,Passengers:[
{id:Zombie,ZombieType:1,PersistenceRequired:1b,LeftHanded:0,CanPickUpLoot:0b,IsBaby:1}]}
The data tag "PersistanceRequired" prevents the mob from despawning. It does not affect item drops.