Make neighbor blocks auto-drop when support block is gone

Started by LuckyBacon on

Topic category: Help with modding (Java Edition)

Last seen on 22:52, 1. Dec 2020
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make neighbor blocks auto-drop when support block is gone

Similar to torches. If the block that the torch is placed on gets broken, then all torches attached to it drop.
How can i achieve this with custom blocks, if the support block is not a specific block?

Last seen on 00:03, 27. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not at my computer but…
Tue, 11/03/2020 - 02:22

I'm not at my computer but there is a block of code which is: is block solid at XYZ just make 1 where every support block will be.