I am trying to make a block that breaks itself if it is not under a certain block

Started by Rain2 on Mon, 06/20/2022 - 09:48

Topic category: Help with MCreator software

Last seen on 12:25, 23. Jun 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I am trying to make a block that breaks itself if it is not under a certain block
Mon, 06/20/2022 - 09:48

Basically, I am trying to make a block that upon being placed will check if there's a specific block under it. If not then the block placed will break and drop itself. Any help would be appreciated!

Last seen on 02:47, 17. Jul 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Advanced properties (4th…
Thu, 06/23/2022 - 00:48

Advanced properties (4th menu of block creator) of the block > Block valid placement condition

Create a procedure that returns true if the block below is of the correct type, and return false at the end.