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
|
|
@ -16,6 +16,11 @@ class Sheep extends Animal{
|
|||
array(WOOL, $this->data["Color"] & 0x0F, 1),
|
||||
);
|
||||
}
|
||||
|
||||
public function isFood($id){
|
||||
return $id === WHEAT;
|
||||
}
|
||||
|
||||
public function getMetadata(){
|
||||
$d = parent::getMetadata();
|
||||
if(!isset($this->data["Sheared"])){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue