PocketMine-MP 5.15.1 git-ed158f8a1b0cfe334ac5f45febc0f633602014f2
pocketmine\world\format\HeightArray Class Reference
+ Collaboration diagram for pocketmine\world\format\HeightArray:

Public Member Functions

 __construct (array $values)
 
 __clone ()
 
 get (int $x, int $z)
 
 getValues ()
 
 set (int $x, int $z, int $height)
 

Static Public Member Functions

static fill (int $value)
 

Detailed Description

Definition at line 29 of file HeightArray.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\format\HeightArray::__construct ( array  $values)
Parameters
int[]$valuesZZZZXXXX key bit order @phpstan-param list<int> $values

Definition at line 41 of file HeightArray.php.

Member Function Documentation

◆ __clone()

pocketmine\world\format\HeightArray::__clone ( )

Definition at line 75 of file HeightArray.php.

◆ fill()

static pocketmine\world\format\HeightArray::fill ( int  $value)
static

Definition at line 48 of file HeightArray.php.

◆ get()

pocketmine\world\format\HeightArray::get ( int  $x,
int  $z 
)

Definition at line 59 of file HeightArray.php.

◆ getValues()

pocketmine\world\format\HeightArray::getValues ( )
Returns
int[] ZZZZXXXX key bit order @phpstan-return list<int>

Definition at line 71 of file HeightArray.php.

◆ set()

pocketmine\world\format\HeightArray::set ( int  $x,
int  $z,
int  $height 
)

Definition at line 63 of file HeightArray.php.


The documentation for this class was generated from the following file: