类 EntityHitBlockAfterEvent实验性

表示实体击中方块相关的信息。

Contains information related to an entity hitting a block.

属性

blockFace: Direction

被击中的方块的面。

Face of the block that was hit.

damagingEntity: Entity

发起攻击的实体。

Entity that made the attack.

hitBlock: Block

被攻击击中的方块。

Block that was hit by the attack.

hitBlockPermutation: BlockPermutation

被攻击击中的方块状态。

Block permutation that was hit by the attack.