Disable block being able to be placed on air/water

Started by Griy on Sat, 11/07/2020 - 01:11

Topic category: Help with modding (Java Edition)

Last seen on 17:18, 6. Aug 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Disable block being able to be placed on air/water
Sat, 11/07/2020 - 01:11

I'm trying to make it so my block can't be placed in the air and water but I can't figure it out.

This is what I have for the procedure. It's not working so could someone tell me what I'm doing wrong? All it's doing right now is making me unable to place the block at all.
 

 

Last seen on 17:48, 12. Sep 2021
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
On your is air at block…
Sat, 11/07/2020 - 04:00

On your is air at block should have [y: {y-1}] instead of just [y: {-1}] You can use one of the math blocks to achieve this. Right now its scanning all blocks ay y level -1 lol

Last seen on 17:18, 6. Aug 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ohh I'm an idiot lmao. Thank…
Sat, 11/07/2020 - 07:57

Ohh I'm an idiot lmao. Thank you so much, it works fine now! :)

Last seen on 17:48, 12. Sep 2021
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
No problem :)
Sat, 11/07/2020 - 15:24

No problem :)