User Tools

Site Tools


developer_center:developer_editor:script:spawnport

Spawnport Class

Class For Spawnport Interface

Return To Previous Page


API list

Class:apiName(parameters) Return Description
Spawnport:getSpawnPoint() ErrorCode.OK , x:number, y:number, z:number Get the default birth point
Spawnport:setSpawnPoint(x:number, y:number, z:number) ErrorCode.OK Set the birth point position
Spawnport:getChunkValidSpawnPos(x:number, y:number, z:number) ErrorCode.OK , x:number, y:number, z:number Get the effective refresh point of the block, which can be used as the birth point
developer_center/developer_editor/script/spawnport.txt · Last modified: 2023/07/18 16:02 by hhuxx1