How do I make a procedure that acts like a Sponge?

Started by Doorknob on

Topic category: Help with modding (Java Edition)

Last seen on 21:36, 18. May 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a procedure that acts like a Sponge?

Hello,

 

I am having trouble figuring out how to make a procedure that acts like a sponge (deleting water in a small radius) and make it activate when I break any block with a certain tool. I have already tried making one that checks every adjacent side, edge, and corner of the broken block for still water and replaces that still water with air, but all it does is make the water disappear for a split second, with only 1 or 2 bits of still water replaced with flowing water (Translation: It doesn't work). Does anyone have any suggestions or tips? Any would be greatly appreciated.

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If the water gets replaced…
Wed, 02/12/2020 - 22:29

If the water gets replaced by flowing water that could probably be because there is more water surrounding the sponge.

You could make a ranged procedure to quickly turn all water blocks into air. I think there should be some topics here that explain this well, just look for a "leaf decay procedure" topic

Last seen on 03:10, 19. Feb 2022
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made a bonemeal procedure…
Thu, 02/13/2020 - 00:26

I made a bonemeal procedure using loops, and yours should be similar.