Can location at x,y,z see the sky returns true if there are slabs or stairs above?

Started by MinecraftElite99 on

Topic category: Troubleshooting, bugs, and solutions

Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can location at x,y,z see the sky returns true if there are slabs or stairs above?

I'm using can location at x,y,z (xyz of event/target entity, which is the player here), see the sky, and if player is under slabs or stairs, it returns true, and I don't know why this happens. I could probably check every block above the entity to see if they're slabs and stairs, but I wish this would just work. Is there any easy fix for this?

 

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it probably only checks for…
Tue, 10/01/2024 - 16:48

it probably only checks for full blocks.