Skip to main content

Interface: LegacyPlayerBreakBlockBeforeEvent

Properties

cancel

cancel: boolean

Set to true before the handler returns to cancel the action.


entity

readonly entity: Entity | null


level

readonly level: Dimension


player

readonly player: Player


pos

readonly pos: BlockVector3


resource

readonly resource: string


state

readonly state: Readonly<Record<string, any>>