PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
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 36 of file object/Ore.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 37 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 46 of file object/Ore.php.

◆ getType()

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

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

◆ placeObject()

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

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


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