Skip to content

Ore ​

class · pocketmine\world\generator\object\Ore · source

Properties ​

$type ​

php
public \pocketmine\world\generator\object\OreType $type

Methods ​

__construct() ​

php
public function __construct(\pocketmine\utils\Random $random, \pocketmine\world\generator\object\OreType $type)

canPlaceObject() ​

php
public function canPlaceObject(\pocketmine\world\ChunkManager $world, int $x, int $y, int $z) : bool

getType() ​

php
public function getType() : \pocketmine\world\generator\object\OreType

placeObject() ​

php
public function placeObject(\pocketmine\world\ChunkManager $world, int $x, int $y, int $z) : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.