手册:Player.canFly

来自Minecraft基岩版开发Wiki

语法[编辑]

Player.canFly();

参数[编辑]

返回值
boolean类型 true为是,false为否

效果[编辑]

判断玩家是否可以飞行。

Template:ModPE