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

    接口 PoiDistancePair实验性

    Associates a block point-of-interest instance with its squared distance from a query center.

    interface PoiDistancePair {
        distance: number;
        poi: PoiBlockInstance;
    }
    索引

    属性

    属性

    distance: number

    Squared three-dimensional distance, in blocks squared, from the query center to the POI position.

    POI instance at this distance.