#how to make sure that existing mobs wont despawn

1 messages · Page 1 of 1 (latest)

primal folio
#

how to make sure that existing mobs wont despawn

primal folio
#

zombie villagers

tame tartan
#

If you set PersistanceRequired to true on any mob, it won't despawn

primal folio
#

how

tame tartan
primal folio
#

execute as @e run data merge entity @s {PersistenceRequired:1b}
execute as @e run data merge entity @s {PersistenceRequired:1}

#

i tried both

#

it doesnt owrk

rich robin
#

it should work

#

are you sure it doesnt

primal folio
#

yes

#

they are gone

zenith current
#

could you perhaps be a little more specfic and give an example of a mob that despawned?

Because the above (if no red-text is in the output) should have achieved the no-despawning. This does not prevent zombies and skeletons from burning and enderman from dying/teleporting when it rains.

Are you using a modded client? Are you using mods? Both could very well cause the above to be ignored.