组件:世界传感器 ============== 此组件由[[item:world_sensor_upgrade:zh|世界传感器升级]]提供。 组件名:`world_sensor`。 回调函数: - `isGasPresent(gas:string):boolean` 获取设备当前所在世界是否有指定气体。 \\ - `getGravity():number` 获取设备当前所在世界的重力大小。 \\ - ` hasBreathableAtmosphere():boolean` 获取设备当前所在世界是否有可呼吸的大气。 \\ - `getWindLevel():number` 获取设备当前所在世界的风力等级。 目录 ----------- {{page>component:contents:zh&noheader&noeditbutton&nouser&nofooter}}