Class: BlockEvent
event blockBeta
包含有关影响特定方块的事件的信息。
Contains information regarding an event that impacts a specific block.
Extended by
BlockComponentBlockBreakEventBlockComponentBlockStateChangeEventBlockComponentEntityEventBlockComponentEntityFallOnEventBlockComponentOnPlaceEventBlockComponentPlayerBreakEventBlockComponentPlayerInteractEventBlockComponentPlayerPlaceBeforeEventBlockComponentRandomTickEventBlockComponentRedstoneUpdateEventBlockComponentStepOffEventBlockComponentStepOnEventBlockComponentTickEventBlockContainerClosedAfterEventBlockContainerOpenedAfterEventBlockExplodeAfterEventButtonPushAfterEventLeverActionAfterEventPistonActivateAfterEventPlayerBreakBlockAfterEventPlayerBreakBlockBeforeEventPlayerCancelBreakingBlockAfterEventPlayerPlaceBlockAfterEventPlayerPlaceBlockBeforeEventPlayerStartBreakingBlockAfterEventPressurePlatePopAfterEventPressurePlatePushAfterEventTargetBlockHitAfterEventTripWireTripAfterEvent
Properties
block
readonlyblock:Block
Beta
Remarks
当前世界中此事件所在位置的方块。
Block currently in the world at the location of this event.
dimension
readonlydimension:Dimension
Beta
Remarks
包含此事件主体方块的维度。
Dimension that contains the block that is the subject of this event.
