Block Reactions

Started by Picture on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block Reactions

I'm having trouble with a custom block I've made, the basic function I'm trying to get is:

Blockstates: On, Off

Block is off by default, Interact with the block > block changes to On > adjacent Off blocks turn on 
everything works so far up until the last step, I'm wanting the adjacent blocks to the clicked block also change to On in a chain reaction to all connected blocks, but I can't figure out that last bit for the life of me, so any help would be appreciated :(

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in the custom block's on…
Tue, 11/18/2025 - 23:57

in the custom block's on active tick update trigger:
 If blockstate property of this block is on:
  set the block property (your block state name) of the block z+1 y x to "on"

  set the block property (your block state name) of the block z-1 y x to "on"
  and so on

You can find these in the action and data section of the block procedures tab, or search property