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

Public Member Functions

 __construct (private int $biome, private int $weight,)
 
 getBiome ()
 
 getWeight ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 21 of file BiomeWeightedData.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeWeightedData::__construct ( private int $biome,
private int $weight )

Definition at line 23 of file BiomeWeightedData.php.

Member Function Documentation

◆ getBiome()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeWeightedData::getBiome ( )

Definition at line 28 of file BiomeWeightedData.php.

◆ getWeight()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeWeightedData::getWeight ( )

Definition at line 30 of file BiomeWeightedData.php.

◆ read()

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

Definition at line 32 of file BiomeWeightedData.php.

◆ write()

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

Definition at line 42 of file BiomeWeightedData.php.


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