PHP Class pocketmine\event\entity\EntityGenerateEvent

Inheritance: extends EntityEvent, implements pocketmine\event\Cancellable
Afficher le fichier Open project: iTXTech/Genisys Class Usage Examples

Méthodes publiques

Свойство Type Description
$handlerList

Méthodes publiques

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

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

getCause() public méthode

public getCause ( ) : integer
Résultat integer

getPosition() public méthode

public getPosition ( ) : Position
Résultat pocketmine\level\Position

getType() public méthode

public getType ( ) : integer
Résultat integer

setPosition() public méthode

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

Property Details

$handlerList public_oe static_oe property

public static $handlerList