How can i make a explosive block that when a entity collides with it the block explodes?

Started by Scintesto on Fri, 07/10/2020 - 08:52

Topic category: Help with modding (Java Edition)

Last seen on 08:41, 31. Aug 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can i make a explosive block that when a entity collides with it the block explodes?
Fri, 07/10/2020 - 08:52

help me make a explosive block that when a entity collides with it it explodes

Last seen on 06:55, 27. Apr 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This is the procedure for my…
Fri, 07/10/2020 - 09:14

This is the procedure for my exploding ore (unstable chert) in my mod..

I couldn't get it all in the image, but it has 7 levels of explosion, the image has 5, the last two are weather related.. though the way I made it work is that sometimes it wont explode, so you have to walk on it for a bit to trigger it.. If you don't like that, then just remove the last If random number and make it end with Else Explode..

for solid blocks, use the when entity walks on, and destroyed by explosion.. if it's a walkthrough block use the when entity collides, in the procedure selection page of the block creator page..

http://www.mediafire.com/file/uij3tu21nzhdj10/boomblock.ptpl/file

boomblock