Skip to content

ChunkRequestTask ​

class · pocketmine\network\mcpe\ChunkRequestTask · source

Extends AsyncTask

Properties ​

$chunk protected ​

php
protected string $chunk

$chunkX protected ​

php
protected int $chunkX

$chunkZ protected ​

php
protected int $chunkZ

$compressor protected ​

php
protected \pocketmine\thread\NonThreadSafeValue $compressor

Methods ​

__construct() ​

php
public function __construct(int $chunkX, int $chunkZ, int $dimensionId, \pocketmine\world\format\Chunk $chunk, \pocketmine\network\mcpe\compression\CompressBatchPromise $promise, \pocketmine\network\mcpe\compression\Compressor $compressor)

onCompletion() ​

php
public function onCompletion() : void

onRun() ​

php
public function onRun() : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.