The BlockComponent class in @minecraft/server.
Class in @minecraft/server
Extends Component
Extended by BlockCustomComponentInstance, BlockDynamicPropertiesComponent, BlockFluidContainerComponent, BlockInstrumentComponent, BlockInventoryComponent, BlockMapColorComponent, BlockMovableComponent, BlockPrecipitationInteractionsComponent, BlockRecordPlayerComponent, BlockRedstoneProducerComponent, BlockSignComponent
import { BlockComponent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”read-only
readonly block: Block;Types