PocketMine-MP 5.18.2 git-00e39821f06a4b6d728d35053c2621dbb19369ff
pocketmine\world\generator\object\Ore Class Reference
+ Collaboration diagram for pocketmine\world\generator\object\Ore:

Public Member Functions

 __construct (private Random $random, public OreType $type)
 
 canPlaceObject (ChunkManager $world, int $x, int $y, int $z)
 
 getType ()
 
 placeObject (ChunkManager $world, int $x, int $y, int $z)
 

Detailed Description

Definition at line 32 of file object/Ore.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\generator\object\Ore::__construct ( private Random  $random,
public OreType  $type 
)

Definition at line 33 of file object/Ore.php.

Member Function Documentation

◆ canPlaceObject()

pocketmine\world\generator\object\Ore::canPlaceObject ( ChunkManager  $world,
int  $x,
int  $y,
int  $z 
)

Definition at line 42 of file object/Ore.php.

◆ getType()

pocketmine\world\generator\object\Ore::getType ( )

Definition at line 38 of file object/Ore.php.

◆ placeObject()

pocketmine\world\generator\object\Ore::placeObject ( ChunkManager  $world,
int  $x,
int  $y,
int  $z 
)

Definition at line 46 of file object/Ore.php.


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