how would i make a block that is destroyed when a source block is destroyed

Started by Muzaki on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how would i make a block that is destroyed when a source block is destroyed

I am very confused please help

I want to have a source block that spreads other blocks until it is broken, when the source block is broken i want them all to revert to the original blocks. I have already tried numerious ways to do this to no success. Again, I am very confused, please help.

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This Is Pretty Simpleā€¦
Wed, 08/11/2021 - 12:51

This Is Pretty Simple Actually

So... Basically

What You Want To Do Is Make The Block You Break Have A Procedure That Tests For Blocks In The Surrounding Area And If It Finds The Right Block, Destroy It, Then... Only Have The Block You Break Drop Itself By Making It Drop Air But Make It Drop Itself In The Procedures...

Or Something :P