early breeding classes, it still doesnt work although it might be implemented later

This commit is contained in:
GameHerobrine 2022-06-17 19:49:36 +03:00
parent 7ec27bfb04
commit d7bfd96739
7 changed files with 22 additions and 5 deletions

View file

@ -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"])){