CraftingDataCache
Constants
RECIPE_ID_OFFSET
php
public const RECIPE_ID_OFFSET = 1The client doesn't like recipes with ID 0 (as of 1.21.100) and complains about them in the content log This doesn't actually affect the function of the recipe, but it is annoying, so this offset fixes it
Methods
getCache()
php
public function getCache(\pocketmine\crafting\CraftingManager $manager) : \pocketmine\network\mcpe\protocol\CraftingDataPacket