手冊:Player.getPointedBlockY

出自Minecraft基岩版开发Wiki

語法[編輯]

Player.getPointedBlockY();

參數[編輯]

傳回值
int型別 y座標

效果[編輯]

取得玩家十字指針所指的方塊Y座標

Template:ModPE