Appearance
twine / Zone
Type Alias: Zone
Zone = {
center:Vec3;radius:number;shape:"sphere"; } | {from:Vec3;shape:"cuboid";to:Vec3; }
Defined in: area.ts:19
A single volume a player can be inside. Combine many into one area's bounds via the zones trigger (a player is "in" the area if inside ANY zone).
sphere- withinradiusblocks ofcenter(@a[distance=..radius], measured in 3D, so height counts).cuboid- inside the axis-aligned box spanning the two cornersfrom/to(inclusive, order-independent; an@a[x=…,dx=…,…]volume selector).