Removed PalettedBlockArray stub

the SubChunkConverter stub was accidentally removed in dd914e07523c7038c868c9969d88fdd97b00b7cf, but no great harm done ...
This commit is contained in:
Dylan K. Taylor 2019-05-18 15:15:20 +01:00
parent 6de0b48c1f
commit cd8645ff20

View File

@ -1,54 +0,0 @@
<?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* @author PocketMine Team
* @link http://www.pocketmine.net/
*
*
*/
declare(strict_types=1);
namespace pocketmine\world\format;
die("This is a stub file for code completion purposes");
//TODO: this can't be moved right now because of compatibility issues with the extension
class PalettedBlockArray{
public function __construct(int $fillEntry){}
public static function fromData(int $bitsPerBlock, string $wordArray, array $palette) : PalettedBlockArray{}
public function getWordArray() : string{}
public function getPalette() : array{}
public function getMaxPaletteSize() : int{}
public function getBitsPerBlock() : int{}
public function get(int $x, int $y, int $z) : int{}
public function set(int $x, int $y, int $z, int $val){}
public function replace(int $offset, int $val){}
public function replaceAll(int $oldVal, int $newVal){}
public function collectGarbage(bool $force = null){}
public static function getExpectedWordArraySize(int $bitsPerBlock) : int{}
}