Can block at x y z see the sky, doesnt work on ground

Started by Danieldk10 on

Topic category: Troubleshooting, bugs, and solutions

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can block at x y z see the sky, doesnt work on ground

Hello everyone, i create a procedure for solar panel, a simple short if statement that sets a global variable here u can see the picture https://imgur.com/a/3N5f312

I know i made a global variable it's on purpose for later use, but the problem is, that the block i put on land can't see the sky, even if there is nothing above it then it sets global power to 2.

if i delete that block and dig 4 block down and put a new block, still clear above, it now can detect the sky for some reason?? 

 

how does the can see the sky block actually work?

 

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Don't know if it's just me…
Fri, 06/26/2020 - 03:00

Don't know if it's just me but the imgur photo is too blurry to read the procedure

 

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
try adding a procedure block…
Fri, 06/26/2020 - 04:21

try adding a procedure block to print a message in the chat to confirm that the sky check actually works.

will narrow down the problem.