Gets the top solid block at the specified location in the given dimension.
The position to check for the top solid block.
The dimension in which to search for the block.
Optional
Whether to only consider solid blocks.
The top solid block at the specified location, or undefined if none is found.
undefined
Gets the top solid block at the specified location in the given dimension.