Пример #1
0
 public function saveNBT()
 {
     parent::saveNBT();
     $this->namedtag->Age = new Short("Age", $this->age);
 }
Пример #2
0
 public function saveNBT()
 {
     parent::saveNBT();
     $this->namedtag->Item = NBT::putItemHelper($this->item);
     $this->namedtag->Health = new Short("Health", $this->getHealth());
     $this->namedtag->Age = new Short("Age", $this->age);
     $this->namedtag->PickupDelay = new Short("PickupDelay", $this->pickupDelay);
     if ($this->owner !== null) {
         $this->namedtag->Owner = new String("Owner", $this->owner);
     }
     if ($this->thrower !== null) {
         $this->namedtag->Thrower = new String("Thrower", $this->thrower);
     }
 }
Пример #3
0
 public function saveNBT()
 {
     parent::saveNBT();
     $this->namedtag->Health = new Short("Health", $this->getHealth());
 }
Пример #4
0
 public function saveNBT()
 {
     parent::saveNBT();
     $this->namedtag->Fuse = new Byte("Fuse", $this->fuse);
 }