手册:Player.getPointedVecX

来自Minecraft基岩版开发Wiki

参数[编辑]

返回值

double类型 x坐标

效果[编辑]

获取玩家十字指针所指的方块精准X坐标。

Template:ModPE