36 public static function create(
int $sound,
Vector3 $position,
int $extraData,
int $entityType,
bool $isBabyMob,
bool $disableRelativeVolume) : self{
38 $result->sound = $sound;
39 $result->position = $position;
40 $result->extraData = $extraData;
41 $result->entityType = $entityType;
42 $result->isBabyMob = $isBabyMob;
43 $result->disableRelativeVolume = $disableRelativeVolume;