EntityExplodeEvent
Cancellable impact plan after an entity explosion is calculated and before it changes the world.
Bedriox\Api\Event\Entity\EntityExplodeEvent
classBedriox\Api\Event\Entity
Public methods
__construct(Bedriox\Api\Entity\Entity $entity, Bedriox\Api\World\Position $position, float $radius, array $affectedBlocks, float $dropYield)Typed public method.
affectedBlocks(): arrayTyped public method.
setAffectedBlocks(array $affectedBlocks): voidTyped public method.
dropYield(): floatTyped public method.
setDropYield(float $dropYield): voidTyped public method.
