A fluid that changes neighbor block into different blocks

Started by XiaoNanAlpha on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A fluid that changes neighbor block into different blocks

I wanted to make a liquid that melts almost everything(except stone), and stone converts to a custom block I made, but the fluid doesn't melt anything and it does not convert stones to custom blocks, I need some help please :(

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use the block's update tick…
Tue, 03/02/2021 - 07:20

use the block's update tick to check surrounding blocks and do whatever. but make sure the procedure is not executing every tick or else the world will lag if there are lots of your custom fluid block around.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Actually, I need some help…
Tue, 03/02/2021 - 11:09

Actually, I need some help with the procedures too X)

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if block at x - 1 y z is …
Sun, 03/21/2021 - 05:43

if block at x - 1 y z is [insert you block here]

      set block x - 1 y z to [insert second block]

 

repeat this for each surrounding coordinate you want ex: perpendicular would be x-1 y z, x+1 y z, x y-1 z, x y+1 z, x y z-1, x y z+1

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you put a screenshot pls?
Tue, 08/10/2021 - 12:24

can you put a screenshot pls?