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