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

    A ClipboardItem is a handle to an object which represents a set of blocks in a contained bounding area (most likely copied from the world)

    索引

    属性

    id: string
    isEmpty: boolean

    Return whether there is any block content in the item

    size: Vector3

    方法

    • 世界修改

      参数

      • location: Vector3

        The root point of the world location to which the ClipboardItem is written (this is modified by the various anchor, offset and rotation parameters of the ClipboardWriteOptions

      • 可选options: ClipboardWriteOptions

        An optional set of write parameters which modify the properties of the ClipboardItem as it is applied to the world

      返回 boolean

      Success or Failure

      Apply the contents of a ClipboardItem to the world at a given location using a set of write options

      This function can throw errors.