手冊:Player.getPointedBlockX

出自Minecraft基岩版开发Wiki

語法[編輯]

Player.getPointedBlockX();

參數[編輯]

傳回值
int型別 x座標

效果[編輯]

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

Template:ModPE