Started by
benl4b
on
Topic category: Help with Minecraft modding (Java Edition)
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.
Topic category: Help with Minecraft modding (Java Edition)
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.
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.
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.
You solved your own problem, i see?
Yes idk how I did not came up with this solution before but it seems to work.