public function initEntity()
 {
     parent::initEntity();
     if (isset($this->namedtag->BombTime)) {
         $this->bombTime = (int) $this->namedtag["BombTime"];
     }
 }
 public function initEntity()
 {
     $this->setMaxHealth(100);
     parent::initEntity();
     $this->setFriendly(true);
     $this->setDamage([0, 21, 21, 21]);
     $this->setMinDamage([0, 7, 7, 7]);
 }
Exemple #3
0
 public function initEntity()
 {
     $this->setMaxHealth(8);
     parent::initEntity();
     $this->fireProof = true;
     if (isset($this->namedtag->Angry)) {
         $this->angry = (int) $this->namedtag["Angry"];
     }
     $this->setDamage([0, 3, 4, 6]);
 }
 public function initEntity()
 {
     parent::initEntity();
     $this->setDamage([0, 3, 4, 6]);
 }
 public function initEntity()
 {
     parent::initEntity();
     $this->setMaxHealth(12);
     $this->setDamage([0, 2, 3, 3]);
 }
 public function initEntity()
 {
     parent::initEntity();
     $this->setFriendly(true);
 }