A fluid that changes neighbor block into different blocks

Started by XiaoNanAlpha on Tue, 03/02/2021 - 02:43

Topic category: Help with modding (Java Edition)

Last seen on 10:16, 31. Mar 2022
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
A fluid that changes neighbor block into different blocks
Tue, 03/02/2021 - 02:43

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 :(

Last seen on 05:29, 31. Jan 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 10:16, 31. Mar 2022
Joined May 2020
Points:

User statistics:

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

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

Last seen on 01:42, 11. Mar 2022
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 15:37, 4. May 2022
Joined Jul 2021
Points:

User statistics:

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

can you put a screenshot pls?