SubChunkPacketHeightMapInfo
in package
Table of Contents
- $heights : array<string|int, mixed>
- __construct() : mixed
- allTooHigh() : self
- allTooLow() : self
- getHeight() : int
- getHeights() : array<string|int, int>
- isAllTooHigh() : bool
- isAllTooLow() : bool
- read() : self
- write() : void
Properties
$heights
private
array<string|int, mixed>
$heights
Methods
__construct()
public
__construct(array<string|int, int> $heights) : mixed
Parameters
- $heights : array<string|int, int>
-
ZZZZXXXX key bit order
Tags
Return values
mixed —allTooHigh()
public
static allTooHigh() : self
Return values
self —allTooLow()
public
static allTooLow() : self
Return values
self —getHeight()
public
getHeight(int $x, int $z) : int
Parameters
- $x : int
- $z : int
Return values
int —getHeights()
public
getHeights() : array<string|int, int>
Return values
array<string|int, int> —isAllTooHigh()
public
isAllTooHigh() : bool
Return values
bool —isAllTooLow()
public
isAllTooLow() : bool
Return values
bool —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer