Detect any block!

Started by Xarfan14000 on

Topic category: Advanced modding

Last seen on 22:39, 21. Nov 2019
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect any block!

Hey everyone. I have made a block and I have been trying to detect ANY block under it, but with no success. I'm still new to programming in java language and I still don't know much about it.

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
With any block you probably…
Mon, 11/11/2019 - 23:17

With any block you probably mean a block that is not air:

If NOT get block at x, y-1, z = Air

Last seen on 22:39, 21. Nov 2019
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you for your reply!…
Wed, 11/20/2019 - 23:43

Thank you for your reply! The only thing that im missing now is how I can make it so that my block spawns the block that is under it around itself.