mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Implemented health, events, damage, motion push
This commit is contained in:
@ -75,6 +75,10 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
|
||||
parent::initEntity();
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
return $this->nameTag;
|
||||
}
|
||||
|
||||
public function saveNBT(){
|
||||
parent::saveNBT();
|
||||
$this->namedtag->Inventory = new Enum("Inventory", []);
|
||||
@ -204,12 +208,4 @@ class Human extends Creature implements ProjectileSource, InventoryHolder{
|
||||
return $d;
|
||||
}
|
||||
|
||||
public function attack($damage, $source = "generic"){
|
||||
|
||||
}
|
||||
|
||||
public function heal($amount, $source = "generic"){
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user