level->setBlock($block, $this); } public function isBreakable(Item $item, Player $player){ return ($this->breakable); } public function onBreak(Item $item, Player $player){ return $this->level->setBlock($this, new AirBlock()); } public function onUpdate($type){ return false; } public function onActivate(Item $item, Player $player){ return ($this->isActivable); } }