Skip to content

DecoratedPotRecipe 5.46.0 ​

final class · pocketmine\crafting\DecoratedPotRecipe · source

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\Item

getIngredientList() ​

php
public function getIngredientList() : array

getResultsFor() ​

php
public function getResultsFor(\pocketmine\crafting\CraftingGrid $grid) : array

matchesCraftingGrid() ​

php
public function matchesCraftingGrid(\pocketmine\crafting\CraftingGrid $grid) : bool

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.