public static void buildPositionStats ( JsonObject json , EntityPlayerMP player ) { json . addProperty ( "XPos" , player . posX ) ; json . addProperty ( "YPos" , player . posY ) ; json . addProperty ( "ZPos" , player . posZ ) ; json . addProperty ( "Pitch" , player . rotationPitch ) ; json . addProperty ( "Yaw" , player . rotationYaw ) ; }
Builds the player position data to be used as observation signals by the listener .