public function onRun($currentTick)
{
$explosion = new Explosion(new Position($this->entity->getX(), $this->entity->getY(), $this->entity->getZ(), $this->entity->getLevel()), $this->radius);
if (!$this->entity->isAlive()) {
return;
}
$this->entity->close();
if ($explosion->explodeA()) {
$explosion->explodeB();
}
}