PHP Class pocketmine\inventory\AnvilInventory

Inheritance: extends ContainerInventory
Afficher le fichier Open project: iTXTech/Genisys

Méthodes publiques

Méthode 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 méthode

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

getHolder() public méthode

public getHolder ( ) : FakeBlockMenu
Résultat FakeBlockMenu

getResultSlotIndex() public méthode

public getResultSlotIndex ( )

onClose() public méthode

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

onRename() public méthode

public onRename ( Player $player, Item $resultItem ) : boolean
$player pocketmine\Player
$resultItem pocketmine\item\Item
Résultat boolean

onSlotChange() public méthode

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

processSlotChange() public méthode

public processSlotChange ( pocketmine\inventory\Transaction $transaction ) : boolean
$transaction pocketmine\inventory\Transaction
Résultat boolean