Appearance
helix / LocationSpec
Interface: LocationSpec โ
Defined in: core/values/predicate/types/location.ts:12
Location facts an EntityPredicate.location / location_check can assert.
Properties โ
biome? โ
Defined in: core/values/predicate/types/location.ts:14
Biome id, tag or list, e.g. Biome.PLAINS. Tags and lists need 1.20.5+.
block? โ
optionalblock?:BlockValue<string>
Defined in: core/values/predicate/types/location.ts:20
The block at the location: id or tag, plus state and block-entity data.
canSeeSky? โ
optionalcanSeeSky?:boolean
Defined in: core/values/predicate/types/location.ts:28
Full sky light. 1.21+.
dimension? โ
optionaldimension?:string|Dimension
Defined in: core/values/predicate/types/location.ts:16
Dimension id, e.g. Dimension.THE_NETHER.
fluid? โ
optionalfluid?:FluidSpec
Defined in: core/values/predicate/types/location.ts:22
The fluid at the location.
light? โ
optionallight?:Bound
Defined in: core/values/predicate/types/location.ts:24
Light level, max(sky, block).
position? โ
optionalposition?:object
Defined in: core/values/predicate/types/location.ts:30
Coordinate bounds (x/y/z).
x? โ
optionalx?:Bound
y? โ
optionaly?:Bound
z? โ
optionalz?:Bound
smokey? โ
optionalsmokey?:boolean
Defined in: core/values/predicate/types/location.ts:26
Within 5 blocks above a campfire. 1.16+.
structure? โ
Defined in: core/values/predicate/types/location.ts:18
Structure id, tag or list. Tags and lists need 1.20.5+.