59 $world = $this->position->getWorld();
60 $above = $this->getSide(Facing::UP);
61 if(!$above->isTransparent()){
62 BlockEventHelper::spread($this, VanillaBlocks::NETHERRACK(), $this);
67 for($i = 0; $i < 4; ++$i){
68 $pos = $this->position->add($random->nextRange(-1, 1), $random->nextRange(-2, 0), $random->nextRange(-1, 1));
69 $block = $world->getBlock($pos);
70 if($block->getTypeId() === BlockTypeIds::NETHERRACK && $world->getBlock($pos->up())->isTransparent()){
71 BlockEventHelper::spread($block, $this, $this);
94 if($world->isInWorld($pos->x, $pos->y, $pos->z) && $replace->getTypeId() === BlockTypeIds::AIR && $place->canBePlacedAt($replace, Vector3::zero(), Facing::DOWN,
true)){