Detecting water?

Started by clocked_artifact on Sat, 05/09/2020 - 11:29

Topic category: Help with modding (Java Edition)

Last seen on 02:17, 9. Nov 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Detecting water?
Sat, 05/09/2020 - 11:29

How would I make a block that detects if its in water?

Last seen on 21:36, 16. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If: is MATERIAL type at x: x…
Sat, 05/09/2020 - 11:54

If: is MATERIAL type at x: y: y+1 z: = Water

   Do: Thing you want it to do.

 

This should have a trigger of when you place down your block. This detects if there is water above it btw.

Last seen on 02:17, 9. Nov 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you
Sat, 05/09/2020 - 11:57

Thank you