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