Hey guys! I have a problem. I am trying to code that the chest would spawn on a random location. The location must be safe, meaning that chest can spawn on the block. I do not want chests to spawn underground or in the air. Is there a simple way to get it working? I know how to code everything else I need, but I have no idea how to do that.