UserDataShapelessRecipe 5.46.0
Extends ShapelessRecipe
A shapeless crafting recipe whose result keeps the data (NBT) of the input matched by the first ingredient, e.g. dyeing a bundle or a shulker box keeps its contents. Bedrock sends these as "user data shapeless" recipes (BedrockData recipes/shapeless_shulker_box.json), and the client copies the data in its own prediction too.
Methods
getResultsFor()
php
public function getResultsFor(\pocketmine\crafting\CraftingGrid $grid) : array