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

    类 BlockRedstoneProducerComponent实验性

    Represents a block that can output a redstone signal.

    层级 (查看层级一览)

    索引

    属性

    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.

    power: number

    Gets the power that this block outputs to circuit system.

    This property can throw when used.

    InvalidBlockComponentError

    typeId: string

    Identifier of the component.

    componentId: "minecraft:redstone_producer" = 'minecraft:redstone_producer'

    方法