public function __construct(Vector3 $pos, Block $b) { parent::__construct($pos->x, $pos->y, $pos->z); $this->data = $b->getId() + ($b->getDamage() << 12); }