BedrioxDOCUMENTATION
API CLASS

EntityExplosionPrimeEvent

Cancellable, adjustable intent before an entity explosion is planned.

Bedriox\Api\Event\Entity\EntityExplosionPrimeEvent
classBedriox\Api\Event\Entity

Public methods

__construct(Bedriox\Api\Entity\Entity $entity, Bedriox\Api\World\Position $position, float $radius, bool $breaksBlocks = true, float $fireChance = 0.0)

Typed public method.

radius(): float

Typed public method.

setRadius(float $radius): void

Typed public method.

breaksBlocks(): bool

Typed public method.

setBreaksBlocks(bool $breaksBlocks): void

Typed public method.

fireChance(): float

Typed public method.

setFireChance(float $fireChance): void

Typed public method.

Constants

MAXIMUM_RADIUS

View exact source ↗