PocketMine-MP 5.14.2 git-50e2c469a547a16a23b2dc691e70a51d34e29395
|
Static Public Member Functions | |
static | enchantItem (Item $item, array $enchantments) |
static | generateOptions (Position $tablePos, Item $input, int $seed) |
static | generateSeed () |
Helper methods used for enchanting using the enchanting table.
Definition at line 48 of file EnchantingHelper.php.
|
static |
EnchantmentInstance[] | $enchantments |
Definition at line 65 of file EnchantingHelper.php.
Referenced by pocketmine\command\defaults\EnchantCommand\execute().
|
static |
Definition at line 78 of file EnchantingHelper.php.
|
static |
Generates a new random seed for enchant option randomization.
Definition at line 58 of file EnchantingHelper.php.