public function saveNBT() { parent::saveNBT(); $this->namedtag->Age = new Short("Age", $this->age); }
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); } }
public function saveNBT() { parent::saveNBT(); $this->namedtag->Health = new Short("Health", $this->getHealth()); }
public function saveNBT() { parent::saveNBT(); $this->namedtag->Fuse = new Byte("Fuse", $this->fuse); }