Ore
    
            
            in package
            
        
    
    
    
        
        
    
Table of Contents
- $type : OreType
- $random : Random
- __construct() : mixed
- canPlaceObject() : bool
- getType() : OreType
- placeObject() : void
Properties
$type
    public
        OreType
    $type
    
    
    
    
$random
    private
        Random
    $random
    
    
    
    
Methods
__construct()
    public
                    __construct(Random $random, OreType $type) : mixed
        
        Parameters
Return values
mixed —canPlaceObject()
    public
                    canPlaceObject(ChunkManager $world, int $x, int $y, int $z) : bool
        
        Parameters
- $world : ChunkManager
- $x : int
- $y : int
- $z : int
Return values
bool —getType()
    public
                    getType() : OreType
        
    
    
        Return values
OreType —placeObject()
    public
                    placeObject(ChunkManager $world, int $x, int $y, int $z) : void
        
        Parameters
- $world : ChunkManager
- $x : int
- $y : int
- $z : int