Testing handling multiple result items for ShapedRecipes

this doesn't work yet, I wanted to see how glitchy it is with cakes. The answer is: very glitchy.
This commit is contained in:
Dylan K. Taylor
2017-09-20 11:14:09 +01:00
parent 4a1fc1bdf7
commit 7996a7b08c
5 changed files with 63 additions and 12 deletions

View File

@ -63,6 +63,14 @@ class ShapelessRecipe implements CraftingRecipe{
return clone $this->output;
}
public function getExtraResults() : array{
return []; //TODO
}
public function getAllResults() : array{
return [$this->getResult()]; //TODO
}
/**
* @param Item $item
*