PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeCappedSurfaceData Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeCappedSurfaceData:

Public Member Functions

 __construct (private array $floorBlocks, private array $ceilingBlocks, private ?int $seaBlock, private ?int $foundationBlock, private ?int $beachBlock,)
 
 getBeachBlock ()
 
 getCeilingBlocks ()
 
 getFloorBlocks ()
 
 getFoundationBlock ()
 
 getSeaBlock ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 24 of file BiomeCappedSurfaceData.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeCappedSurfaceData::__construct ( private array $floorBlocks,
private array $ceilingBlocks,
private ?int $seaBlock,
private ?int $foundationBlock,
private ?int $beachBlock )
Parameters
int[]$floorBlocks
int[]$ceilingBlocks

Definition at line 30 of file BiomeCappedSurfaceData.php.

Member Function Documentation

◆ getBeachBlock()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeCappedSurfaceData::getBeachBlock ( )

Definition at line 52 of file BiomeCappedSurfaceData.php.

◆ getCeilingBlocks()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeCappedSurfaceData::getCeilingBlocks ( )
Returns
int[]

Definition at line 46 of file BiomeCappedSurfaceData.php.

◆ getFloorBlocks()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeCappedSurfaceData::getFloorBlocks ( )
Returns
int[]

Definition at line 41 of file BiomeCappedSurfaceData.php.

◆ getFoundationBlock()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeCappedSurfaceData::getFoundationBlock ( )

Definition at line 50 of file BiomeCappedSurfaceData.php.

◆ getSeaBlock()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeCappedSurfaceData::getSeaBlock ( )

Definition at line 48 of file BiomeCappedSurfaceData.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeCappedSurfaceData::read ( ByteBufferReader $in)
static

Definition at line 54 of file BiomeCappedSurfaceData.php.

◆ write()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeCappedSurfaceData::write ( ByteBufferWriter $out)

Definition at line 78 of file BiomeCappedSurfaceData.php.


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