BedrioxDOCUMENTATION
API CLASS

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(): array

Typed public method.

setAffectedBlocks(array $affectedBlocks): void

Typed public method.

dropYield(): float

Typed public method.

setDropYield(float $dropYield): void

Typed public method.

View exact source ↗