Started by
ellingtonisland
on
Topic category: Help with Minecraft modding (Java Edition)
i need help creating a procedure that will check if a block at x,y,z location is underground
the block i am placing is a light that turns on and off automatically and if placed underground it needs to come on even if something with a light level of 15 is placed right next to it.
Edited by ellingtonisland on Sat, 09/16/2023 - 00:21
There is a procedure block under world called "can location at x y z see the sky". This should check if there is anything above the block, either directly, or far up. You can further specify using the "is biome tagged as (cave or other underground biome name as seen in the F3 menu)".