Class: BlockComponentPlayerInteractEvent
event player block componentBeta
包含有关特定方块被交互的信息。
Contains information regarding a specific block being interacted with.
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
face
readonlyface:Direction
Beta
Remarks
被交互的方块面。
The block face that was interacted with.
faceLocation?
readonlyoptionalfaceLocation?:Vector3
Beta
Remarks
玩家交互的位置,相对于方块的西北下角。
Location relative to the bottom north-west corner of the block that the player interacted with.
player?
readonlyoptionalplayer?:Player
Beta
Remarks
与此方块交互的玩家。
The player that interacted with this block.
