mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
early breeding classes, it still doesnt work although it might be implemented later
This commit is contained in:
parent
7ec27bfb04
commit
d7bfd96739
7 changed files with 22 additions and 5 deletions
|
|
@ -9,7 +9,9 @@ class Cow extends Animal{
|
|||
//$this->setName('Cow');
|
||||
$this->size = $this->isBaby() ? 0.65 : 1.4;
|
||||
}
|
||||
|
||||
public function isFood($id){
|
||||
return $id === WHEAT;
|
||||
}
|
||||
|
||||
public function getDrops(){
|
||||
return $this->isBaby() ? array() :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue