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

Public Member Functions

 __construct (private int $biome, private int $dimension, private array $targetBiomes, private float $amount, private int $replacementIndex)
 
 getAmount ()
 
 getBiome ()
 
 getDimension ()
 
 getReplacementIndex ()
 
 getTargetBiomes ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 23 of file BiomeReplacementData.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeReplacementData::__construct ( private int $biome,
private int $dimension,
private array $targetBiomes,
private float $amount,
private int $replacementIndex )
Parameters
int[]$targetBiomes

Definition at line 28 of file BiomeReplacementData.php.

Member Function Documentation

◆ getAmount()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeReplacementData::getAmount ( )

Definition at line 45 of file BiomeReplacementData.php.

◆ getBiome()

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

Definition at line 36 of file BiomeReplacementData.php.

◆ getDimension()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeReplacementData::getDimension ( )

Definition at line 38 of file BiomeReplacementData.php.

◆ getReplacementIndex()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeReplacementData::getReplacementIndex ( )

Definition at line 47 of file BiomeReplacementData.php.

◆ getTargetBiomes()

pocketmine\network\mcpe\protocol\types\biome\chunkgen\BiomeReplacementData::getTargetBiomes ( )
Returns
int[]

Definition at line 43 of file BiomeReplacementData.php.

◆ read()

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

Definition at line 49 of file BiomeReplacementData.php.

◆ write()

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

Definition at line 62 of file BiomeReplacementData.php.


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