DecoratedPotRecipe 5.46.0
Implements CraftingRecipe
Vanilla's special decorated pot recipe: 4 bricks or pottery sherds in a diamond shape, each one becoming the pattern on one side of the pot (top = back, left = left, right = right, bottom = front). Clients know it as a multi recipe with a fixed UUID; the plain 4-brick pot also has a normal shaped recipe.
Constants
MULTI_RECIPE_UUID
php
public const MULTI_RECIPE_UUID = "685a742a-c42e-4a4e-88ea-5eb83fc98e5b"UUID the client uses for this hardcoded multi recipe (from BedrockData special_hardcoded.json)
Methods
createPot()
php
public static function createPot(array $sherds) : \pocketmine\item\ItemgetIngredientList()
php
public function getIngredientList() : arraygetResultsFor()
php
public function getResultsFor(\pocketmine\crafting\CraftingGrid $grid) : arraymatchesCraftingGrid()
php
public function matchesCraftingGrid(\pocketmine\crafting\CraftingGrid $grid) : bool