SiliconGhetto Engine API
    Preparing search index...

    Function voxelFindSpawnY

    • Find a safe spawn Y coordinate above the terrain at the given X/Z position.

      Parameters

      • x: number

        World X coordinate

      • z: number

        World Z coordinate

      Returns number

      The Y coordinate just above the highest solid block