Helper methods used for enchanting using the enchanting table.
Definition at line 48 of file EnchantingHelper.php.
◆ enchantItem()
static pocketmine\item\enchantment\EnchantingHelper::enchantItem |
( |
Item | $item, |
|
|
array | $enchantments ) |
|
static |
◆ generateOptions()
static pocketmine\item\enchantment\EnchantingHelper::generateOptions |
( |
Position | $tablePos, |
|
|
Item | $input, |
|
|
int | $seed ) |
|
static |
◆ generateSeed()
static pocketmine\item\enchantment\EnchantingHelper::generateSeed |
( |
| ) |
|
|
static |
Generates a new random seed for enchant option randomization.
Definition at line 58 of file EnchantingHelper.php.
The documentation for this class was generated from the following file: