Пацаны помогите плиз очень нужно

На LiteCore не работает BossBar

	public static function addBossBar($players, $title){
		if(empty($players)) return null;

		$eid = Entity::$entityCount++;

		$packet = new AddEntityPacket();
		$packet->eid = $eid;
		$packet->type = 52;
		$packet->yaw = 0;
		$packet->pitch = 0;
		$packet->metadata = [Entity::DATA_LEAD_HOLDER_EID => [Entity::DATA_TYPE_LONG, -1], Entity::DATA_FLAGS => [Entity::DATA_TYPE_LONG, 0 ^ 1 << Entity::DATA_FLAG_SILENT ^ 1 << Entity::DATA_FLAG_INVISIBLE], Entity::DATA_SCALE => [Entity::DATA_TYPE_FLOAT, 0],
			Entity::DATA_NAMETAG => [Entity::DATA_TYPE_STRING, $title], Entity::DATA_BOUNDING_BOX_WIDTH => [Entity::DATA_TYPE_FLOAT, 0], Entity::DATA_BOUNDING_BOX_HEIGHT => [Entity::DATA_TYPE_FLOAT, 0]];
		foreach($players as $player){
			$pk = clone $packet;
			$pk->x = $player->x;
			$pk->y = $player->y - 10;
			$pk->z = $player->z;
			$player->dataPacket($pk);
		}

		$bpk = new BossEventPacket();
		$bpk->eid = $eid;
		$bpk->state = 0;
		Server::getInstance()->broadcastPacket($players, $bpk);

		return $eid;
	}
	public function onPlayerJoin(PlayerJoinEvent $ev){
		if($this->entityRuntimeId === null){
			$this->entityRuntimeId = API::addBossBar([$ev->getPlayer()], "Загрузка..");
		}else{
			API::sendBossBarToPlayer($ev->getPlayer(), $this->entityRuntimeId, $this->getText($ev->getPlayer()));
		}
	}

Жди, я скоро плуг напишу, а может даже и api