|
PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
|
Collaboration diagram for pocketmine\network\mcpe\cache\CraftingDataCache:Public Member Functions | |
| getCache (CraftingManager $manager) | |
Public Attributes | |
| const | RECIPE_ID_OFFSET = 1 |
Definition at line 50 of file CraftingDataCache.php.
| pocketmine\network\mcpe\cache\CraftingDataCache::getCache | ( | CraftingManager | $manager | ) |
Definition at line 65 of file CraftingDataCache.php.
| const pocketmine\network\mcpe\cache\CraftingDataCache::RECIPE_ID_OFFSET = 1 |
The 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
Definition at line 63 of file CraftingDataCache.php.