BookCloningRecipe 5.47.0
Extends MultiCraftingRecipe
Copying a written book (client-hardcoded multi recipe): a written book and 1-8 book and quills make one copy per book and quill, one generation further ("copy of original", "copy of copy"). Only originals and copies of originals can be copied. The written book itself is not used up and stays in the grid (Minecraft Wiki, Java BookCloningRecipe::getRemainingItems()), so it isn't one of the ingredients.
Constants
MULTI_RECIPE_UUID
php
public const MULTI_RECIPE_UUID = "d1ca6b84-338e-4f2f-9c6b-76cc8b4bd98d"UUID the client uses for this multi recipe (BedrockProtocol MultiRecipe::TYPE_BOOK_CLONING)
Methods
computeResults() protected
php
protected function computeResults(\pocketmine\crafting\CraftingGrid $grid) : ?arraygetIngredientList()
php
public function getIngredientList() : arraygetIngredientListFor()
php
public function getIngredientListFor(\pocketmine\crafting\CraftingGrid $grid) : arraygetMultiRecipeUuid()
php
public function getMultiRecipeUuid() : string