custom entity spawning twice

Started by Knoth on

Topic category: Help with modding (Java Edition)

Last seen on 12:12, 11. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
custom entity spawning twice

I checked the first few pages after doing a few searches of keywords for my issue. I've found a few forum posts mentioning this but nothing that I was able to use or understand to solve the issue. I created items that launch projectiles which upon impact will spawn a custom entity tamed by the user. This was working fine until a recent update to Mcreator made this spawn 2 of the entities instead of 1. The idea is that the item has a 2-minute cooldown. The custom entity should last 30 seconds and then despawn. Everything seems to be working except for the double spawning. If anyone sees anything else that could be improved, please let me know. Thank you for your time. Here are some screenshots.

 

Projectile Hits Entity

 

Projectile Hits Block

 

Ranged Item Used

Last seen on 12:25, 31. Jan 2024
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For some reason the images…
Mon, 07/11/2022 - 10:33

For some reason the images aren't loading (at least for me)

Last seen on 12:12, 11. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not sure why the screenshots…
Mon, 07/11/2022 - 12:13

Not sure why the screenshots aren't loading. I apologize for the inconvenience.