The BlockMovableComponent class in @minecraft/server.
Class in @minecraft/server
Extends BlockComponent
import { BlockMovableComponent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”movementType
Section titled “movementType”read-only
readonly movementType: MovementType;Types
stickyType
Section titled “stickyType”read-only
readonly stickyType: StickyType;Types
componentId
Section titled “componentId”static read-only
static readonly componentId = 'minecraft:movable';Inherited
Section titled “Inherited”From BlockComponent: block