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

    类 PoiBlockType实验性

    Describes a block point-of-interest type.

    Required Experiments:

    • Poi
    索引

    属性

    id: number

    Numeric identifier of this POI type.

    name: string

    Namespaced identifier of this POI type.

    tickets: number

    Maximum number of tickets that can be claimed from each POI instance of this type.

    usableRange: number

    Maximum range, in blocks, at which this POI type is considered usable.

    方法

    • 世界修改

      参数

      返回 boolean

      True if both objects describe the same POI type; otherwise false.

      Tests whether this object and another object describe the same POI type.

    • 世界修改

      参数

      • tag: string

        POI tag to check.

      返回 boolean

      True if the POI conatains the tag; otherwise false.

      Tests whether the type has the provided tag attribute