Make neighbor blocks auto-drop when support block is gone

Started by LuckyBacon on Sun, 11/01/2020 - 01:56

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make neighbor blocks auto-drop when support block is gone
Sun, 11/01/2020 - 01:56

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 21:51, 20. Aug 2021
Joined Jul 2020
Points:

User statistics:

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