This may help you. https://github.com/iTXTech/Genisys/...c7ebd2/src/pocketmine/entity/Entity.php#L1592 Genisys code looks terrible though. They don't even try to make constants for the network IDs :/