Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
You can always check out skUnity Downloads for downloads and any other information about Skript!
How to detect if you are not expose to sunlight or moonlight?Hey there.
This should do the job.Code:if block 2 meters above player is air:
How to detect if you are not expose to sunlight or moonlight?
I believe you can check the sunlight level at a location, so just check the light level at the player. Smarter people could give you a more complete answer tho
Edit:
Ye, https://docs.skunity.com/syntax/search/id:5177.
if block 1 meters above event-block is air:
if sunlight level at block above event-block > 5Code:if block 1 meters above event-block is air:
is it possible to do 1 blocks above instead of meters?
I don't want to check light level now. I want to check above is 3x3 above me is air or notif sunlight level at block above event-block > 5
pretty sure 1 block is 1 meter. Could be wrong.Code:if block 1 meters above event-block is air:
is it possible to do 1 blocks above instead of meters?
nope i tried and its actually like 100 blockspretty sure 1 block is 1 meter. Could be wrong.
You'd be right. Minecraft blocks are actually just 1 cubic meter in size.pretty sure 1 block is 1 meter. Could be wrong.
Could trynope i tried and its actually like 100 blocks
if block above player is air
sorry,You'd be right. Minecraft blocks are actually just 1 cubic meter in size.
EDIT:
Could try
Code:if block above player is air