@minecraft
    正在准备搜索索引...

    类 BlockVibrationPropertiesComponent实验性

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

    层级 (查看层级一览)

    索引
    block: Block

    Block instance that this component pertains to.

    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.

    typeId: string

    Identifier of the component.

    componentId: "minecraft:vibration_properties" = 'minecraft:vibration_properties'
    • 返回 boolean

      Whether this block can dampen vibrations.

      Gets whether this block can dampen vibrations. Vibrations that occur on this block will be discarded by this block if it can dampen vibrations. Returns false when the block does not define a 'minecraft:vibration_properties' component.

    • 返回 boolean

      Whether this block can occlude vibrations.

      Gets whether this block can occlude vibrations. Vibrations that pass through this block will be discarded if this block can occlude vibrations. Returns false when the block does not define a 'minecraft:vibration_properties' component.