4, 1 => 3, 2 => 5, 3 => 2 ]; $this->meta = $faces[(~($player->getDirection() - 1)) & 0x03]; } return $this->getLevel()->setBlock($block, $this, true, true); } public function getDrops(Item $item){ if($item->isPickaxe() >= Tool::TIER_WOODEN){ return [ [$this->getId(), 0, 1], ]; }else{ return []; } } }