I need help in a mob spawn procedure

Started by Yawk on

Topic category: Help with modding (Java Edition)

Last seen on 14:10, 12. Sep 2022
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 :)

Last seen on 13:37, 12. Jun 2023
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?