Skip to content

helix / LocationSpec

Interface: LocationSpec

Defined in: core/values/predicate.ts:47

Location facts an EntityPredicate.location / location_check can assert.

Properties

biome?

optional biome?: string | IdValue

Defined in: core/values/predicate.ts:49

Biome id, e.g. "minecraft:plains".


block?

optional block?: string | BlockValue

Defined in: core/values/predicate.ts:55

The block at the location (id or tag, plus optional state/nbt).


dimension?

optional dimension?: string | IdValue

Defined in: core/values/predicate.ts:51

Dimension id, e.g. "minecraft:the_nether".


position?

optional position?: object

Defined in: core/values/predicate.ts:57

Coordinate bounds (x/y/z).

x?

optional x?: Bound

y?

optional y?: Bound

z?

optional z?: Bound


structure?

optional structure?: string | IdValue

Defined in: core/values/predicate.ts:53

Structure id.

Released under the MIT License · Credits