PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
ItemDespawnEvent.php
1 <?php
2 
22 namespace pocketmine\event\entity;
23 
26 
27 class ItemDespawnEvent extends EntityEvent implements Cancellable{
28  public static $handlerList = null;
29  public static $eventPool = [];
30  public static $nextEvent = 0;
31 
35  public function __construct(Item $item){
36  $this->entity = $item;
37 
38  }
39 
43  public function getEntity(){
44  return $this->entity;
45  }
46 
47 }