Spawned Group Near Location (Expression) — DisplayEntityUtils

Addon: DisplayEntityUtils · Category: Expression · Since: 2.6.2, 3.4.3 (Registered)

Syntax

(all|nearest) [registered] spawned[ |-]group[s] within %number% [block[s]] of %location%

Description

Get, and optionally register, the nearest or all nearby non-packet groups within a location

Examples

set {_nearbygroups::*} to all spawned groups within 5 blocks of {_location}
set {_nearbygroups::*} to all registered spawned groups within 8 blocks of {_location}

set {_nearest} to nearest spawned group within 2 blocks of {_location}
set {_nearest} to nearest registered spawned group within 6 blocks of {_location}

View source