I need help in a mob spawn procedure

Started by Yawk on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help in a mob spawn procedure

Hi, I need help to do that when a projectile hits a block, an entity spawns in that block.

 

Thanks for reading :)

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This won't work as the…
Tue, 08/02/2022 - 22:39

This won't work as the entity will suffocate in a wall when shot directly into it.

Even if you add y+1, it will still suffocate in some circumstances!

Is there any other way?

Like some kind of way to spawn it in the closest air block?