PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\event\Cancellable Interface Reference

Inherited by pocketmine\event\block\BlockBreakEvent, pocketmine\event\block\BlockFormEvent, pocketmine\event\block\BlockGrowEvent, pocketmine\event\block\BlockPlaceEvent, pocketmine\event\block\BlockSpreadEvent, pocketmine\event\block\BlockUpdateEvent, pocketmine\event\block\LeavesDecayEvent, pocketmine\event\block\SignChangeEvent, pocketmine\event\entity\EntityArmorChangeEvent, pocketmine\event\entity\EntityBlockChangeEvent, pocketmine\event\entity\EntityCombustEvent, pocketmine\event\entity\EntityDamageEvent, pocketmine\event\entity\EntityExplodeEvent, pocketmine\event\entity\EntityInventoryChangeEvent, pocketmine\event\entity\EntityLevelChangeEvent, pocketmine\event\entity\EntityMotionEvent, pocketmine\event\entity\EntityMoveEvent, pocketmine\event\entity\EntityRegainHealthEvent, pocketmine\event\entity\EntityShootBowEvent, pocketmine\event\entity\EntityTeleportEvent, pocketmine\event\entity\ExplosionPrimeEvent, pocketmine\event\entity\ItemDespawnEvent, pocketmine\event\entity\ProjectileLaunchEvent, pocketmine\event\inventory\CraftItemEvent, pocketmine\event\inventory\FurnaceBurnEvent, pocketmine\event\inventory\FurnaceSmeltEvent, pocketmine\event\inventory\InventoryOpenEvent, pocketmine\event\inventory\InventoryPickupArrowEvent, pocketmine\event\inventory\InventoryPickupItemEvent, pocketmine\event\inventory\InventoryTransactionEvent, pocketmine\event\level\ChunkUnloadEvent, pocketmine\event\level\LevelUnloadEvent, pocketmine\event\player\PlayerAchievementAwardedEvent, pocketmine\event\player\PlayerAnimationEvent, pocketmine\event\player\PlayerBedEnterEvent, pocketmine\event\player\PlayerBucketEvent, pocketmine\event\player\PlayerChatEvent, pocketmine\event\player\PlayerCommandPreprocessEvent, pocketmine\event\player\PlayerDropItemEvent, pocketmine\event\player\PlayerGameModeChangeEvent, pocketmine\event\player\PlayerInteractEvent, pocketmine\event\player\PlayerItemConsumeEvent, pocketmine\event\player\PlayerItemHeldEvent, pocketmine\event\player\PlayerKickEvent, pocketmine\event\player\PlayerLoginEvent, pocketmine\event\player\PlayerMoveEvent, pocketmine\event\player\PlayerPreLoginEvent, pocketmine\event\server\DataPacketReceiveEvent, pocketmine\event\server\DataPacketSendEvent, and pocketmine\event\server\ServerCommandEvent.

+ Collaboration diagram for pocketmine\event\Cancellable:

Public Member Functions

 isCancelled ()
 
 setCancelled ($forceCancel=false)
 

Detailed Description

Events that can be cancelled must use the interface Cancellable

Definition at line 28 of file Cancellable.php.


The documentation for this interface was generated from the following file: