PeripheralsPlusPlus icon indicating copy to clipboard operation
PeripheralsPlusPlus copied to clipboard

PlayerSensor improvement

Open mburger82 opened this issue 9 years ago • 1 comments

Suggestion:

Description

The PlayerSensor is a really handy tool for command-computers aswell. So it would be ideal, if you also could give back the player coordinates. And really important would be the dimension, the player is in.

Expected behavior: new Method:

getPlayerData(playerName)
{
    x
    y
    z
    dimension
}

mburger82 avatar Nov 16 '16 11:11 mburger82

I agree, if you could pull x y z coordinates and get if the player is crouching or is on the ground and an is player like in openccsensors player sensor. it is sometimes unreliable and just removing openccsensors would be great. however, keep the x y z relative to the sensor unless passed otherwise. and lastly the ability to filter names of entity's or their entity id function getPlayerData(playerName, posIsRelative, nameOrEntityID)

DevL0rd avatar May 10 '17 23:05 DevL0rd