45 $down = $this->getSide(
Facing::DOWN);
46 $position = $this->position;
47 $lightLevel = $position->getWorld()->getFullLightAt($position->x, $position->y, $position->z);
48 $downId = $down->getTypeId();
50 if(($lightLevel <= 12 && !$down->isTransparent()) || $downId === BlockTypeIds::MYCELIUM || $downId === BlockTypeIds::PODZOL){
51 return parent::place($tx, $item, $blockReplace, $blockClicked, $face, $clickVector, $player);