Class: TripWireTripAfterEvent
eventBeta
Contains information related to changes to a trip wire trip.
包含与绊线被触发相关的信息。
Example
tripWireTripEvent.ts
Extends
Properties
block
readonlyblock:Block
Beta
Remarks
当前世界中此事件所在位置的方块。
Block currently in the world at the location of this event.
Inherited from
dimension
readonlydimension:Dimension
Beta
Remarks
包含此事件主体方块的维度。
Dimension that contains the block that is the subject of this event.
Inherited from
isPowered
readonlyisPowered:boolean
Beta
Remarks
Whether or not the block has redstone power.
该方块是否具有红石信号。
sources
readonlysources:Entity[]
Beta
Remarks
The sources that triggered the trip wire to trip.
触发绊线的来源。
