A falling bomb should explode upon impact

Started by benl4b on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A falling bomb should explode upon impact

Hi, my plan is to develop a bomb that can be dropped and then explode on the ground. 

I tried experimenting a bit but nothing works.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I haven't added the…
Sat, 03/16/2024 - 07:17

I haven't added the explosion part yet, but where the particles are spawned, the explosion part will be added later. I've already made the block a falling block, like sand, but I just can't figure out how to detect when the block hits the ground.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Since no one answered I…
Wed, 01/01/2025 - 09:56

Since no one answered I figured it out myself and the solution is actually pretty easy. It does not work if you create an entity and try to make it detect when it touches the ground but a projectile which replaces the falling block has the "when projectile touches ground" feature in the trigger section. I did not try it yet but I guess it works.

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You solved your own problem,…
Wed, 01/01/2025 - 10:14

You solved your own problem, i see? 

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes idk how I did not came…
Sun, 01/26/2025 - 15:42

Yes idk how I did not came up with this solution before but it seems to work.