Block changes when water touches it

Started by Index_Dev on

Topic category: Help with modding (Java Edition)

Last seen on 22:00, 1. Aug 2020
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block changes when water touches it

How do you make a block change when water touches it?

Last seen on 19:55, 7. Jan 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try making a update tick…
Mon, 11/25/2019 - 09:07

Try making a update tick procedure with if get block at x  y + 1  z = water do whatever you want the block to change.

Last seen on 11:53, 29. Dec 2023
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make the earth…
Fri, 12/27/2019 - 18:22

How can I make the earth turn to mud by touching the water?
(This is translated with the google translator)

Last seen on 18:03, 5. Dec 2021
Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You cannot modify vanilla…
Fri, 12/27/2019 - 19:24

You cannot modify vanilla blocks such as Dirt or Grass to turn into a mud block. But if you had a modded block you could use it to detect in a 2x2/1x1 radius for water flowing/water still and to change it into mud.

Last seen on 11:53, 29. Dec 2023
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have the block, but how do…
Fri, 12/27/2019 - 23:06

I have the block, but how do I get it to detect the water.

Last seen on 08:33, 9. Apr 2020
Joined Nov 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could try adding a…
Sun, 03/22/2020 - 21:21

You could try adding a procedure to the "When neighbour block changes" event.  This way, if there isn't water next to it now, but water does come into contact with it later, it will still change.

 

Last seen on 22:00, 1. Aug 2020
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright,thanks
Sat, 04/04/2020 - 19:38

Alright,thanks