手册:Player.getDimension

来自Minecraft基岩版开发Wiki

语法[编辑]

Player.getDimension();

参数[编辑]

返回值
int类型 世界维度

效果[编辑]

获取玩家所在的世界维度。

Template:ModPE