Topic category: Help with Minecraft modding (Java Edition)
I have 2 models for a sheep creature, one with wool and one without. The issue is, once the cooldown to respawn the "sheep with wool" runs out, the "sheep with wool" spawns in the location it was originally shorn, not the "sheep without wool's" current location
How can i fix the procedure so the "sheep with wool" spawns where the "sheep without wool's" current location is. Not the creature's original spawn location.
The procedure is as follows:
On the "sheep without wool's" initial spawn trigger:
No additional trigger
If: target enity is subtype "sheep without wool"
Do: wait 600 ticks on server side
-despawn target entity
-spawn "sheep with wool" at x: x y: y z: z
I did have this on the entity tick update but that cause an ungodly amount of "sheep with wool" to endlessly spawn after 600 ticks.
Thanks for any help
Nvm lol i figure it out