56        $world = $this->position->getWorld();
 
   57        if($face !== Facing::DOWN && $item instanceof 
Hoe){
 
   58            $up = $this->getSide(Facing::UP);
 
   59            if($up->getTypeId() !== BlockTypeIds::AIR){
 
   63            $item->applyDamage(1);
 
   65            $newBlock = $this->dirtType === DirtType::NORMAL ? VanillaBlocks::FARMLAND() : VanillaBlocks::DIRT();
 
   66            $center = $this->position->add(0.5, 0.5, 0.5);
 
   68            $world->setBlock($this->position, $newBlock);
 
   69            if($this->dirtType === DirtType::ROOTED){
 
   70                $world->dropItem($center, VanillaBlocks::HANGING_ROOTS()->asItem());
 
   74        }elseif($this->dirtType === DirtType::ROOTED && $item instanceof 
Fertilizer){
 
   75            $down = $this->getSide(Facing::DOWN);
 
   76            if($down->getTypeId() !== BlockTypeIds::AIR){
 
   81            $world->setBlock($down->position, VanillaBlocks::HANGING_ROOTS());
 
   83        }elseif(($item instanceof Potion || $item instanceof SplashPotion) && $item->getType() === PotionType::WATER){
 
   85            $world->setBlock($this->position, VanillaBlocks::MUD());
 
   86            $world->addSound($this->position, 
new WaterSplashSound(0.5));