Destroy item and summon explosion on contact with water

Started by Xhenos on

Topic category: Help with modding (Java Edition)

Last seen on 07:59, 11. Feb 2021
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Destroy item and summon explosion on contact with water

I want to make sodium ingots summon a small explosion when they make contact with water. I only managed to get an explosion when the item leaves the inventory of the player, so you could drop it from the air and it would immediately explode in your face. I also haven't had much luck destroying the item. 

I'm pretty new to all this, but can anybody help me?

Last seen on 19:15, 17. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i would just do on right…
Thu, 02/18/2021 - 16:56

i would just do on right click get block .if block is water explode and take one ingot from players inventory

Last seen on 23:11, 24. Feb 2022
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what mod is this for im…
Wed, 03/17/2021 - 20:23

what mod is this for im literally doing the same thing