EntityBlockChangeEvent
Cancellable, adjustable block replacement requested by an entity behavior.
Bedriox\Api\Event\Entity\EntityBlockChangeEvent
classBedriox\Api\Event\Entity
Public methods
__construct(Bedriox\Api\Entity\Entity $entity, Bedriox\Api\World\Block $from, Bedriox\Api\World\Block $to, Bedriox\Api\Entity\Value\EntityBlockChangeReason $reason)Typed public method.
to(): Bedriox\Api\World\BlockTyped public method.
setTo(Bedriox\Api\World\Block $to): voidTyped public method.
