public function __construct(Random $random, OreType $type) { $this->type = $type; $this->random = $random; }