Class: PoiBlockType experimental
blockBeta
Describes a block point-of-interest type.
Required Experiments:
- Poi
Properties
id
readonlyid:number
Beta
Remarks
Numeric identifier of this POI type.
name
readonlyname:string
Beta
Remarks
Namespaced identifier of this POI type.
tickets
readonlytickets:number
Beta
Remarks
Maximum number of tickets that can be claimed from each POI instance of this type.
usableRange
readonlyusableRange:number
Beta
Remarks
Maximum range, in blocks, at which this POI type is considered usable.
Methods
equals()
equals(
other):boolean
World Mutation Beta
Parameters
other
PoiBlockType
POI type to compare with this type.
Returns
boolean
True if both objects describe the same POI type; otherwise false.
Remarks
Tests whether this object and another object describe the same POI type.
Privilege
no-restricted-execution -
has()
has(
tag):boolean
World Mutation Beta
Parameters
tag
string
POI tag to check.
Returns
boolean
True if the POI conatains the tag; otherwise false.
Remarks
Tests whether the type has the provided tag attribute
Privilege
no-restricted-execution -
