mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
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:
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user