PHP Class pocketmine\event\entity\EntityGenerateEvent

Inheritance: extends EntityEvent, implements pocketmine\event\Cancellable
Exibir arquivo Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Position $pos, integer $entityType, integer $cause = self::CAUSE_MOB_SPAWNER )
getCause ( ) : integer
getPosition ( ) : Position
getType ( ) : integer
setPosition ( Position $pos )

Method Details

__construct() public method

public __construct ( Position $pos, integer $entityType, integer $cause = self::CAUSE_MOB_SPAWNER )
$pos pocketmine\level\Position
$entityType integer
$cause integer

getCause() public method

public getCause ( ) : integer
return integer

getPosition() public method

public getPosition ( ) : Position
return pocketmine\level\Position

getType() public method

public getType ( ) : integer
return integer

setPosition() public method

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

Property Details

$handlerList public_oe static_oe property

public static $handlerList