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/TargetBlockHitAfterEvent.md.

Class: TargetBlockHitAfterEvent

event block

Beta

Contains information related to changes to a target block hit.

包含与标靶方块被击中时的变化相关的信息。

Extends

Properties

block

readonly block: Block

Beta

Remarks

当前世界中此事件所在位置的方块。

Block currently in the world at the location of this event.

Inherited from

BlockEvent.block


dimension

readonly dimension: Dimension

Beta

Remarks

包含此事件主体方块的维度。

Dimension that contains the block that is the subject of this event.

Inherited from

BlockEvent.dimension


hitVector

readonly hitVector: Vector3

Beta

Remarks

The position where the source hit the block.

击中方块时的源位置。


previousRedstonePower

readonly previousRedstonePower: number

Beta

Remarks

The redstone power before the block is hit.

方块被击中前的红石信号强度。


redstonePower

readonly redstonePower: number

Beta

Remarks

The redstone power at the time the block is hit.

方块被击中时的红石信号强度。


source

readonly source: Entity

Beta

Remarks

Optional source that hit the target block.

击中目标方块的来源(可选)。

同领域相关