Skip to content

EntityExtinguishEvent ​

class · pocketmine\event\entity\EntityExtinguishEvent · source

Extends EntityEvent

Called when an entity on fire gets extinguished.

Constants ​

CAUSE_CUSTOM ​

php
public const CAUSE_CUSTOM = 0

CAUSE_FIRE_PROOF ​

php
public const CAUSE_FIRE_PROOF = 4

CAUSE_POWDER_SNOW ​

php
public const CAUSE_POWDER_SNOW = 7

CAUSE_RAIN ​

php
public const CAUSE_RAIN = 6

CAUSE_RESPAWN ​

php
public const CAUSE_RESPAWN = 3

CAUSE_TICKING ​

php
public const CAUSE_TICKING = 5

CAUSE_WATER ​

php
public const CAUSE_WATER = 1

CAUSE_WATER_CAULDRON ​

php
public const CAUSE_WATER_CAULDRON = 2

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\Entity $entity, int $cause)

getCause() ​

php
public function getCause() : int

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.