Script API - v26.50.27
    Preparing search index...

    Class PoiBlockTypeBeta

    Describes a block point-of-interest type.

    Required Experiments:

    • Poi
    export class PoiBlockType {
    private constructor();
    readonly id: number;
    readonly name: string;
    readonly tickets: number;
    readonly usableRange: number;
    equals(other: PoiBlockType): boolean;
    has(tag: string): boolean;
    }
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    id: number

    Numeric identifier of this POI type.

    This property can't be read in early-execution mode.

    name: string

    Namespaced identifier of this POI type.

    This property can't be read in early-execution mode.

    tickets: number

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

    This property can't be read in early-execution mode.

    usableRange: number

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

    This property can't be read in early-execution mode.

    Methods

    • Parameters

      Returns boolean

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

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

      no-restricted-execution - This function can't be called in restricted-execution mode.

      This function can't be called in early-execution mode.

    • Parameters

      • tag: string

        POI tag to check.

      Returns boolean

      True if the POI conatains the tag; otherwise false.

      Tests whether the type has the provided tag attribute

      no-restricted-execution - This function can't be called in restricted-execution mode.

      This function can't be called in early-execution mode.