The PlayerCancelBreakingBlockAfterEvent class in @minecraft/server.
Class in @minecraft/server
Extends BlockEvent
import { PlayerCancelBreakingBlockAfterEvent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”blockPermutation
Section titled “blockPermutation”read-only
readonly blockPermutation: BlockPermutation;Types
breakProgress
Section titled “breakProgress”read-only
readonly breakProgress: number;read-only
readonly face: Direction;Types
heldItemStack
Section titled “heldItemStack”read-only optional
readonly heldItemStack?: ItemStack;Types
player
Section titled “player”read-only
readonly player: Player;Types
Used by
Section titled “Used by”PlayerCancelBreakingBlockAfterEventSignal.subscribe, PlayerCancelBreakingBlockAfterEventSignal.unsubscribe
Inherited
Section titled “Inherited”From BlockEvent: block, dimension