Just a questiom, has Player::getY() and Block::getY() been removed? because PHPStorm is saying its not a thing and github search isnt finding anything. Player::getX() and Player::getZ() work but just not Y. If anyone could answer my question i would appreciate it. (Also if it has been removed, how can i get a players Y coordinate?)
No it hasn't been removed. https://github.com/pmmp/Math/blob/1df74f0352309a9c1e6728fa416a3f0493d07b16/src/Vector3.php#L63
PHP says getY() does not exist but getX() exists? Or you simply modified your local copy/didn't setup PhpStorm properly?
just refetch your pmmp lib also invalidate all cache may help on the other hand, make sure that thing is what you think it is like do assert or if $var instance of whatIThinkItIs
the "pocketmine\math" namespace has been moved to a Composer library. Make sure you install Composer dependencies and add PocketMine's "vendor" directory to your library paths.