The BlockComponentOnPlaceEvent class in @minecraft/server.
Class in @minecraft/server
Extends BlockEvent
import { BlockComponentOnPlaceEvent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”previousBlock
Section titled “previousBlock”read-only
readonly previousBlock: BlockPermutation;Types
Used by
Section titled “Used by”Inherited
Section titled “Inherited”From BlockEvent: block, dimension