Combining multiple storage interfaces into one

Started by ysfssfs on

Topic category: Help with Minecraft modding (Bedrock Edition)

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Combining multiple storage interfaces into one

Hello everyone, I'm making a mod, and it includes a special block. I’ve created a storage menu for this block and added arrows for switching between menus. Specifically, I want the block to check if there’s another block of the same type within a 3x3x3 radius. If such blocks exist, their storage should link together.

I planned to implement this using the arrows in the storage menu, so players can switch between tabs (interfaces). Items should still remain in their respective storages (blocks), but from any block in the radius, players should be able to access not only its own menu but also the menus of nearby blocks within the 3x3x3 radius.

So, how can I implement this?