Replacing a Modded Entity with Another Upon Spawning Causing Issues

Started by WunderWaffel on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Replacing a Modded Entity with Another Upon Spawning Causing Issues

I'm trying to make a system to where my mobs have a 10% chance to replace itself with another variant of the entity (a separate entity in this case) using the "Spawn entity:" and "Despawn: Event/Target entity".

 

However, when I attach this procedure to the "Upon initial spawn" trigger in the entity that spawns, the entity stops spawning completely. Is there something wrong with the procedure that I'm just not seeing? I've tried looking for answers to no avail.

 

Procedure: https://imgur.com/gallery/1Ds5daB

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I should also mention that…
Fri, 02/03/2023 - 04:54

I should also mention that the same thing happens with this procedure on another mob I have the same intent with: https://imgur.com/gallery/vLy0HNl

And, for some reason, this one for yet another mob with the same feature still allows the entity to spawn; but, it won't replace them at all: https://imgur.com/gallery/l7n77lr