PHP: $entity = Entity::createEntity($entityId, $level, Entity::createBaseNBT($player->add(0, $player->getEyeHeight()), new Vector3()));$entity->spawnToAll();