For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/EntityHitBlockAfterEvent.md.

Class: EntityHitBlockAfterEvent

event entity block

Beta

Contains information related to an entity hitting a block.

Properties

blockFace

readonly blockFace: Direction

Beta

Remarks

Face of the block that was hit.


damagingEntity

readonly damagingEntity: Entity

Beta

Remarks

Entity that made the attack.


hitBlock

readonly hitBlock: Block

Beta

Remarks

Block that was hit by the attack.


hitBlockPermutation

readonly hitBlockPermutation: BlockPermutation

Beta

Remarks

Block permutation that was hit by the attack.

同领域相关