Skip to content

world

biome

world.biome() : string
获取当前所在的生物群系名

set_timer

world.set_timer(float speed)
设置全局Timer速度

livings

world.livings() : int[]
获取当前世界加载的EntityLivingBase实体id列表

entities

world.entities() : int[]
获取当前世界加载的实体id列表

timer

world.timer() : float
获取timer速度

is_single_player

world.is_single_player() : boolean
返回是否是单人游戏

get_server

world.get_server() : string
返回服务器IP

block

world.block(double x, double y, double z) : string
获取指定方块位置的方块类型