Script API - v26.70.26
    Preparing search index...

    Class BlockClimbablePropertiesComponentBeta

    Represents the climbable properties of a block with a 'minecraft:climbable' component.

    export class BlockClimbablePropertiesComponent extends BlockComponent {
    private constructor();
    readonly canClimb: boolean;
    readonly canHoldPositionWhileSneaking: boolean;
    static readonly componentId = 'minecraft:climbable';
    }

    Hierarchy (View Summary)

    Index
    block: Block

    Block instance that this component pertains to.

    This property can't be read in early-execution mode.

    canClimb: boolean

    Returns whether an entity can climb this block when its feet are sharing the same position as the block. Returns false when the block does not define a 'minecraft:climbable' component.

    This property can throw when used.

    LocationInUnloadedChunkError

    LocationOutOfWorldBoundariesError

    This property can't be read in early-execution mode.

    canHoldPositionWhileSneaking: boolean

    Returns whether a player on this block can stop descending and hold their position when sneaking. Returns false when the block does not define a 'minecraft:climbable' component

    This property can throw when used.

    LocationInUnloadedChunkError

    LocationOutOfWorldBoundariesError

    This property can't be read in early-execution mode.

    isValid: boolean

    Returns whether the component is valid. A component is considered valid if its owner is valid, in addition to any addition to any additional validation required by the component.

    This property can't be read in early-execution mode.

    typeId: string

    Identifier of the component.

    This property can't be read in early-execution mode.

    componentId: "minecraft:climbable" = 'minecraft:climbable'