PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\cache\CraftingDataCache Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\cache\CraftingDataCache:

Public Member Functions

 getCache (CraftingManager $manager)
 

Public Attributes

const RECIPE_ID_OFFSET = 1
 

Detailed Description

Definition at line 50 of file CraftingDataCache.php.

Member Function Documentation

◆ getCache()

pocketmine\network\mcpe\cache\CraftingDataCache::getCache ( CraftingManager $manager)

Definition at line 65 of file CraftingDataCache.php.

Member Data Documentation

◆ RECIPE_ID_OFFSET

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.


The documentation for this class was generated from the following file: