Shearable Entity with 2 Models not Spawning in Correct Location

Started by Don't-talk-to-me on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Shearable Entity with 2 Models not Spawning in Correct Location

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 

 

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nvm lol i figure  it out
Mon, 11/11/2024 - 02:48

Nvm lol i figure  it out