手册:Player.getPointedEntity

来自Minecraft基岩版开发Wiki

语法[编辑]

Player.getPointedVecX();

参数[编辑]

返回值
Object类型 实体

效果[编辑]

获取玩家十字指针所指的实体。

Template:ModPE