Genisys  Genisys API 1.9.3
A server software for Minecraft: Pocket Edition with many features
ExplosionPrimeEvent Class Reference
Inheritance diagram for ExplosionPrimeEvent:
[legend]
Collaboration diagram for ExplosionPrimeEvent:
[legend]

Public Member Functions

 __construct (Entity $entity, $force, bool $dropItem)
 
 setDropItem (bool $dropItem)
 
 dropItem ()
 
 getForce ()
 
 setForce ($force)
 
 isBlockBreaking ()
 
 setBlockBreaking ($affectsBlocks)
 
- Public Member Functions inherited from EntityEvent
 getEntity ()
 
- Public Member Functions inherited from Event
 getEventName ()
 
 getHandlers ()
 
- Public Member Functions inherited from Cancellable
 isCancelled ()
 
 setCancelled ($forceCancel=false)
 

Static Public Attributes

static $handlerList = null
 

Protected Attributes

 $force
 
- Protected Attributes inherited from EntityEvent
 $entity
 
- Protected Attributes inherited from Event
 $eventName = null
 

Detailed Description

Called when a entity decides to explode

Constructor & Destructor Documentation

__construct ( Entity  $entity,
  $force,
bool  $dropItem 
)
Parameters
Entity$entity
float$force
bool$dropItem

Member Function Documentation

getForce ( )
Returns
float
isBlockBreaking ( )
Returns
bool
setBlockBreaking (   $affectsBlocks)
Parameters
bool$affectsBlocks

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