public __construct ( |
||
$pos | ||
$entityType | integer | |
$cause | integer |
public function __construct(Position $pos, int $entityType, int $cause = self::CAUSE_MOB_SPAWNER)
{
$this->position = $pos;
$this->entityType = $entityType;
$this->cause = $cause;
}