mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
get entity names or sizes by eids or instances
This commit is contained in:
parent
53928f4e88
commit
69d4e52d44
12 changed files with 35 additions and 12 deletions
|
|
@ -9,7 +9,7 @@ class Pig extends Animal{
|
|||
$this->update();
|
||||
$this->server = ServerAPI::request();
|
||||
//$this->server->schedule(60, array($this, "testMovement"));
|
||||
//$this->setName('Pig');
|
||||
$this->setName('Pig');
|
||||
$this->size = $this->isBaby() ? 0.60 : 1.1875;
|
||||
}
|
||||
public function isFood($id){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue