ItemMergeEvent
Extends EntityEvent
Implements Cancellable
Called when an item entity tries to merge into another item entity.
Properties
$target
php
public \pocketmine\entity\object\ItemEntity $targetMethods
__construct()
php
public function __construct(\pocketmine\entity\object\ItemEntity $entity, \pocketmine\entity\object\ItemEntity $target)getTarget()
php
public function getTarget() : \pocketmine\entity\object\ItemEntityReturns the merge destination.
