Started by
pandaferrets
on
Topic category: Help with Minecraft modding (Java Edition)
How do I replace a mob with a different mob and keep all the NBT data?
Edited by pandaferrets on Mon, 10/17/2022 - 01:55
Topic category: Help with Minecraft modding (Java Edition)
How do I replace a mob with a different mob and keep all the NBT data?
1. Set a local variable to the mobs nbt
2. despawn the entity
3. spawn the new entity
4. set the nbt of new entity to the variables
can you please provide image on how to do so?