Destroy item and summon explosion on contact with water

Started by Xhenos on

Topic category: Help with Minecraft modding (Java Edition)

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?

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

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