Im trying to make a block that cant be placed on transparent blocks, can i have some help?

Started by Eevneon on

Topic category: Help with modding (Java Edition)

Last seen on 20:52, 7. Nov 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im trying to make a block that cant be placed on transparent blocks, can i have some help?

Im trying to make a block that cant be placed on transparent blocks, and i tried to make it to check if any block around it is NOT a block with a higher light value than zero, but it doesn't seem to work. 

 

Help would be appreciated alot ^w^

Last seen on 20:52, 7. Nov 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update: I just checked for…
Fri, 07/15/2022 - 09:02

Update: I just checked for if any block around the y axis was a solid block, and it worked!