BannerDuplicateRecipe 5.47.0
Extends MultiCraftingRecipe
Copying a banner (client-hardcoded multi recipe): a banner with patterns and a blank banner of the same base colour make two banners with those patterns. On Bedrock the patterned banner must come before the blank one in the grid (to the left of it or above it, Minecraft Wiki), and the recipe shows two banners as its result, so both inputs are used up.
Constants
MULTI_RECIPE_UUID
php
public const MULTI_RECIPE_UUID = "b5c5d105-75a2-4076-af2b-923ea2bf4bf0"UUID the client uses for this multi recipe (BedrockProtocol MultiRecipe::TYPE_BANNER_DUPLICATE)
Methods
computeResults() protected
php
protected function computeResults(\pocketmine\crafting\CraftingGrid $grid) : ?arraygetIngredientList()
php
public function getIngredientList() : arraygetMultiRecipeUuid()
php
public function getMultiRecipeUuid() : string