BetaPrivateconstructorBlock position at which to add the POI.
POI type to add, specified by numeric type Id, type name, or POI type object.
Adds a block point of interest at a position. This method is intended for temporary usage. Will be replaced when chunk is reloaded
This function can't be called in early-execution mode.
Block position to inspect.
The POI type at the position, or undefined if no POI exists there.
This function can't be called in early-execution mode.
Block position to inspect.
Filter used to select the POI type. A callback receives the POI type and returns whether it matches; a name filter matches a type name; and a tag filter requires all specified tags.
True if a POI exists at the position and its type matches the filter; otherwise false.
This function can't be called in early-execution mode.
Filter used to select POI types. A callback receives each POI type and returns whether it should be included; a name filter matches a type name; and a tag filter requires all specified tags.
Center of the search.
Maximum three-dimensional distance from the center, in blocks.
OptionaloccupancyFilter: PoiBlockOccupancyFilterOptional filter applied to the occupancy state of matching POIs. If omitted, POIs in any occupancy state are returned.
The matching POI instances within range. The result order is not guaranteed.
Returns block points of interest that match the supplied type and occupancy filters within the specified distance of a location.
This function can't be called in early-execution mode.
Filter used to select POI types. A callback receives each POI type and returns whether it should be included; a name filter matches a type name; and a tag filter requires all specified tags.
Center of the search and the location from which distances are calculated.
Maximum three-dimensional distance from the center, in blocks.
OptionaloccupancyFilter: PoiBlockOccupancyFilterOptional filter applied to the occupancy state of matching POIs. If omitted, POIs in any occupancy state are returned.
The matching POI instances and their squared distances from the center, sorted in ascending distance order.
Returns block points of interest that match the supplied type and occupancy filters within an axis-aligned square centered on the specified location, sorted from nearest to farthest.
This function can't be called in early-execution mode.
Filter used to select POI types. A callback receives each POI type and returns whether it should be included; a name filter matches a type name; and a tag filter requires all specified tags.
Center of the search volume.
Half-size of the search volume, in blocks, along each axis.
OptionaloccupancyFilter: PoiBlockOccupancyFilterOptional filter applied to the occupancy state of matching POIs. If omitted, POIs in any occupancy state are returned.
The matching POI instances in the search volume.
Returns block points of interest that match the supplied type and occupancy filters within an axis-aligned square centered on the specified location.
This function can't be called in early-execution mode.
Block position of the POI whose ticket should be released.
True if a ticket was released; false if no POI exists at the position or the POI has no claimed tickets.
This function can't be called in early-execution mode.
Filter used to select the POI type to claim. A callback receives each POI type and returns whether it should be included; a name filter matches a type name; and a tag filter requires all specified tags.
Center of the search.
Maximum three-dimensional distance from the center, in blocks.
The block position of the claimed POI, or undefined if no matching POI has an available ticket.
This function can't be called in early-execution mode.
Provides methods for querying and managing block-based points of interest in a dimension.
Required Experiments:
Source