PHP Class pocketmine\inventory\AnvilInventory

Inheritance: extends ContainerInventory
Exibir arquivo Open project: iTXTech/Genisys

Public Methods

Method Description
__construct ( Position $pos )
getHolder ( ) : FakeBlockMenu
getResultSlotIndex ( )
onClose ( Player $who )
onRename ( Player $player, Item $resultItem ) : boolean
onSlotChange ( $index, $before, $send )
processSlotChange ( pocketmine\inventory\Transaction $transaction ) : boolean

Method Details

__construct() public method

public __construct ( Position $pos )
$pos pocketmine\level\Position

getHolder() public method

public getHolder ( ) : FakeBlockMenu
return FakeBlockMenu

getResultSlotIndex() public method

public getResultSlotIndex ( )

onClose() public method

public onClose ( Player $who )
$who pocketmine\Player

onRename() public method

public onRename ( Player $player, Item $resultItem ) : boolean
$player pocketmine\Player
$resultItem pocketmine\item\Item
return boolean

onSlotChange() public method

public onSlotChange ( $index, $before, $send )

processSlotChange() public method

public processSlotChange ( pocketmine\inventory\Transaction $transaction ) : boolean
$transaction pocketmine\inventory\Transaction
return boolean