Skip to content

EnchantingTransaction ​

class · pocketmine\inventory\transaction\EnchantingTransaction · source

Extends InventoryTransaction

Methods ​

__construct() ​

php
public function __construct(\pocketmine\player\Player $source, \pocketmine\item\enchantment\EnchantingOption $option, int $cost)

callExecuteEvent() protected ​

php
protected function callExecuteEvent() : bool

execute() ​

php
public function execute() : void

validate() ​

php
public function validate() : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.