World components
Every field below is derived from the engine’s own component registry — the same one the editor’s Details panel reads — so the types and defaults here are the values you get when you add the component, and they cannot drift from the code. The prose that explains how to use each one lives in the guides linked per entry.
ExcludeFromFarProxy
Keeps an entity and everything under it out of its cell far proxy: for what a game moves with its own systems.
Explained in world/streaming.
A tag — it carries no fields.
Marker
A named point or region of gameplay interest — spawn point, waypoint, trigger zone — queryable like any component.
Explained in gameplay/markers.
| Field | Type | Default | Notes |
|---|---|---|---|
type | string | empty | |
properties | object | empty |
ParticleCollider
A sphere, box or capsule particles bounce off with no physics, for an emitter in Sdf collision mode, on the GPU or the CPU.
Explained in world/particles.
| Field | Type | Default | Notes |
|---|---|---|---|
shape | enum | Sphere | One of Sphere, Box, Capsule. |
radius | number | 50 | Range ≥ 0. |
halfHeight | number | 50 | Range ≥ 0. |
halfExtents | Vec3 | (50, 50, 50) | |
inverted | boolean | false | |
mask | number | 65535 | Range 0–65535, step 1. |
enabled | boolean | true |
ParticleEmitter
A particle system: emission, lifetime, shape, forces, noise, colour and size over life, sub-emitters and trails.
Explained in world/particles.
| Field | Type | Default | Notes |
|---|---|---|---|
rate | number | 10 | Range ≥ 0. |
burstCount | number | 0 | Range ≥ 0, step 1. |
burstInterval | number | 1 | Range ≥ 0. |
duration | number | 5 | Range ≥ 0. |
simulationSpeed | number | 1 | How fast this emitter's own time runs: 2 plays it twice as fast, 0.5 at half, 0 holds it. Scales emission, lifetimes and motion alike. Range ≥ 0. |
startDelay | number | 0 | Seconds after the emitter starts playing before it emits anything. The duration counts from the end of the delay. Range ≥ 0. |
looping | boolean | true | |
playOnStart | boolean | true | |
maxParticles | number | 1000 | Range ≥ 1, step 1. |
gpuSimulation | boolean | false | Simulate on the GPU (WebGPU compute). Falls back to a capped CPU simulation elsewhere. Sub-emitters, trails and physics collision are CPU-only. |
lifetimeMin | number | 5 | Range ≥ 0. |
lifetimeMax | number | 5 | Range ≥ 0. |
shape | enum | Cone | One of Point, Circle, Box, Cone, Sphere, Hemisphere. |
shapeRadius | number | 100 | Range ≥ 0. |
shapeSize | Vec3 | (100, 100, 0) | |
shapeAngle | number | 25 | |
speedMin | number | 500 | |
speedMax | number | 500 | |
angleSpreadMin | number | 0 | |
angleSpreadMax | number | 360 | |
startSizeMin | number | 100 | Range ≥ 0. |
startSizeMax | number | 100 | Range ≥ 0. |
endSizeMin | number | 100 | Range ≥ 0. |
endSizeMax | number | 100 | Range ≥ 0. |
sizeEasing | enum | Linear | One of Linear, EaseIn, EaseOut, EaseInOut. |
startColor | Color | #ffffff | |
endColor | Color | #ffffff00 | |
colorEasing | enum | Linear | One of Linear, EaseIn, EaseOut, EaseInOut. |
rotationMin | number | 0 | |
rotationMax | number | 0 | |
angularVelocityMin | number | 0 | |
angularVelocityMax | number | 0 | |
gravity | Vec3 | (0, 0, 0) | |
damping | number | 0 | Range ≥ 0. |
addedVelocityMin | Vec3 | (0, 0, 0) | A velocity each particle carries on top of its own, chosen between the two ends when it is born. Gravity, damping, noise and the speed limit do not act on it. Run by the CPU simulation. |
addedVelocityMax | Vec3 | (0, 0, 0) | |
speedLimit | number | 0 | The fastest a particle may move under its own velocity; 0 is no limit. A faster particle is pulled back toward the limit. Run by the CPU simulation. Range ≥ 0. |
limitDampen | number | 1 | How much of the excess over the limit is removed per 1/60 s: 1 clamps at once, a small value brakes gently. Range 0–1. |
noiseStrength | number | 0 | Range ≥ 0. |
noiseFrequency | number | 0.01 | Range ≥ 0. |
noiseScrollSpeed | number | 0 | |
noiseOctaves | number | 1 | Range 1–8, step 1. |
texture | Asset<texture> | none | |
spriteColumns | number | 1 | Range ≥ 1, step 1. |
spriteRows | number | 1 | Range ≥ 1, step 1. |
spriteFPS | number | 10 | Range ≥ 0. |
spriteLoop | boolean | true | |
blendMode | enum | Additive | One of Normal, Additive, Multiply, Screen, PremultipliedAlpha, PmaAdditive, Lighten, Darken, Overlay, None. |
layer | enum (sortingLayers) | 0 | Range step 1. |
material | Asset<material> | none | |
simulationSpace | enum | World | One of World, Local. |
renderMode | enum | Billboard | Billboard faces the view. Stretched lays the quad's long axis (its Y) along the particle's velocity and lengthens it with speed. Drawn by the CPU simulation; a GPU-simulated emitter draws as Billboard. One of Billboard, Stretched. |
velocityScale | number | 0 | Stretched: how much of the particle's speed is added to the quad's length, in world units per unit of speed. Range ≥ 0. |
lengthScale | number | 1 | Stretched: the quad's own length is its size times this. Range ≥ 0. |
intensity | number | 1 | Multiplies the particle's colour (not its alpha) as it is drawn, past 1 where the picture is HDR: what makes a spark bright enough to bloom. A material's fragment receives the colour already multiplied. The CPU simulation's per-particle trail is drawn without it. Range ≥ 0. |
enabled | boolean | true | |
subEmitterTrigger | enum | Death | One of Death, Birth, Collision. |
subEmitterChance | number | 1 | Range 0–1. |
subEmitterInheritVelocity | number | 0 | Range 0–1. |
subEmitter | Entity | none | |
trailEnabled | boolean | false | |
trailWidth | number | 8 | Range ≥ 0. |
trailPoints | number | 6 | Range 2–12, step 1. |
trailMinDistance | number | 6 | Range ≥ 0. |
collisionEnabled | boolean | false | |
collisionFloor | number | 0 | |
collisionMode | enum | Floor | One of Floor, Physics2D, Physics3D, Depth, Sdf. |
collisionMask | number | 65535 | Range 0–65535, step 1. |
collisionQueryBudget | number | 128 | Range 0–4096, step 1. |
collisionMaxDistance | number | 0 | Range ≥ 0. |
collisionFallback | enum | Floor | One of Floor, Skip. |
collisionEvents | boolean | false | |
collisionEventBudget | number | 32 | Range 0–1024, step 1. |
collisionThickness | number | 30 | Range ≥ 0. |
collisionBounce | number | 0.5 | Range 0–1. |
collisionFriction | number | 0.1 | Range 0–1. |
collisionLifetimeLoss | number | 0 | Range 0–1. |
colorGradient | object | {"stops":[]} | |
sizeCurve | object | {"keys":[]} | |
bursts | array | empty |
ParticleForceField
A field that pushes particles around — point, directional, vortex or drag.
Explained in world/particles.
| Field | Type | Default | Notes |
|---|---|---|---|
type | enum | Directional | One of Directional, Point, Vortex, Drag. |
strength | number | 200 | |
radius | number | 0 | Range ≥ 0. |
direction | Vec3 | (1, 0, 0) | |
falloff | boolean | true | |
enabled | boolean | true |
ParticleModelUnits
Imported particle sizes, speeds and gravity in model units; the particle plugin applies the largest absolute world-scale axis to the emitter.
Explained in world/particles.
| Field | Type | Default | Notes |
|---|---|---|---|
startSizeMin | number | 1 | |
startSizeMax | number | 1 | |
endSizeMin | number | 1 | |
endSizeMax | number | 1 | |
speedMin | number | 0 | |
speedMax | number | 0 | |
gravity | Vec3 | (0, 0, 0) |
PlacedObject
Written by a generated world on what the game interacts with (ore, a tree to fell): its stable placement id and kind.
Explained in world/generation.
| Field | Type | Default | Notes |
|---|---|---|---|
id | string | empty | |
kind | string | empty |
RememberState
Keeps an entity as it was left when its cell unloads, and keeps it gone once destroyed.
Explained in world/streaming.
| Field | Type | Default | Notes |
|---|---|---|---|
keepTransform | boolean | true | Keep where it stood as well, so something moved is found where it was left. |
RoadDecal
Lays the entity's mesh along a Spline and over the ground, its edges fading into what it lies on.
Explained in graphics/terrain.
| Field | Type | Default | Notes |
|---|---|---|---|
step | number | 20 | How far apart its rows are along the curve. Finer follows the ground and the bends more closely. Range ≥ 0.01. |
across | number | 4 | How many cells across. More follows a ground that crowns or slopes under the road. Range 1–32, step 1. |
widthScale | number | 1 | Times the width each spline point says. Range ≥ 0, step 0.01. |
lift | number | 0.5 | How far above the ground it lies. Enough to win against the ground from as far as it is seen. Range ≥ 0, step 0.01. |
edgeFade | number | 0.35 | The share of its half width over which each edge fades into the ground. Range 0–1, step 0.01. |
tile | number | 200 | The length of one repeat of its texture along the curve. Range ≥ 0.01. |
StreamedWorld
Declares the scene a streamed world and how big the cook cuts its cells.
Explained in world/streaming.
| Field | Type | Default | Notes |
|---|---|---|---|
cellSize | number | 1000 | Edge of one cell on the plane. Range ≥ 1. |
plane | enum | Ground (x, z) | Which two world axes the cells are cut along: a 3D world is cut on the ground, a 2D world on the screen plane. One of Ground (x, z), Screen (x, y). |
farProxies | boolean | false | Bake each cell a merged, simplified stand-in of its static meshes, drawn while the cell is not loaded. |
farDistance | number | 8000 | How far from a source an unloaded cell still shows its far proxy. Range ≥ 0. |
proxyError | number | 1 | How far a far proxy surface may move from the original. Range ≥ 0. |
proxyRatio | number | 0.01 | The fewest triangles a far proxy aims for, as a share of what the cell holds; proxyError keeps more where it must. Range 0.001–1. |
Tilemap
A Tiled map asset projected into the scene; the engine derives one layer entity per map layer.
Explained in world/tilemaps.
| Field | Type | Default | Notes |
|---|---|---|---|
source | Asset<tilemap> | none |
TilemapLayer
One layer of tiles — its tileset, cell size, orientation, sorting and collision.
Explained in world/tilemaps.
| Field | Type | Default | Notes |
|---|---|---|---|
cellSize | Vec2 | (32, 32) | |
orientation | enum | Orthogonal | Grid layout: orthogonal, isometric, staggered, or hexagonal. One of Orthogonal, Isometric, Staggered, Hexagonal. |
hexSideLength | number | 0 | Hexagonal side length in px (0 = a regular pointy hex = tileHeight/2). Ignored unless orientation is Hexagonal. Range ≥ 0, step 1. |
staggerAxis | enum | Y | Stagger axis (staggered/hex): Y shifts rows, X shifts columns. One of Y, X. |
staggerIndex | enum | Odd | Which lines carry the half-cell shift (staggered/hex). One of Odd, Even. |
originOffset | Vec2 | (0, 0) | |
tileset | Asset<texture> | none | |
tilesetColumns | number | 1 | Range ≥ 1, step 1. |
renderLayer | enum (sortingLayers) | 0 | Range step 1. |
tintColor | Color | #ffffff | |
opacity | number | 1 | Layer transparency (0 = invisible, 1 = opaque). Range 0–1. |
parallaxFactor | Vec2 | (1, 1) | |
visible | boolean | true | |
lit | boolean | false | Receive 2D lights: Light entities light this layer's tiles (flat normal). |
VoxelTerrain
Ground that is a volume, so it can hold caves and overhangs, and be carved while the game runs.
Explained in world/voxel-terrain.
| Field | Type | Default | Notes |
|---|---|---|---|
cellSize | number | 1 | The side of a cell: the finest thing the ground can show. Half the size is eight times the cells. Range ≥ 0.05. |
chunkCells | number | 24 | How many cells a chunk has a side. Smaller makes less again for each edit and draws more meshes. Range 8–64, step 1. |
minY | number | -48 | How far down the volume goes from the entity. Nothing digs through its floor. |
maxY | number | 48 | How far up the volume goes from the entity. Nothing is built past it. |
seed | number | 1 | Another seed is another ground. A save holds what was changed in the ground this seed makes. Range step 1. |
surfaceHeight | number | 8 | Where the ground lies on average, from the entity. |
hillHeight | number | 14 | How far the hills rise and fall from it. Range ≥ 0. |
hillScale | number | 60 | How wide the hills are. Range ≥ 1. |
caveWidth | number | 2.5 | How wide the tunnels through the ground are. 0 has none. Range ≥ 0. |
caveScale | number | 36 | How far apart the tunnels are. Range ≥ 1. |
soilDepth | number | 5 | How deep the soil goes before rock. Range ≥ 0. |
oreAmount | number | 0.06 | How much of the rock is ore. Range 0–1, step 0.01. |
drawDistance | number | 96 | How far from the eye the ground is drawn. Range ≥ 1. |
castShadows | boolean | true | Whether the ground casts shadows. |
collision | boolean | true | Whether 3D bodies and characters collide with the ground. |
collisionDistance | number | 32 | How far round each moving body and character the ground is built for collision. Range ≥ 1. |
collisionLayer | number | 0 | The collision layer the ground is in (0 to 15). Range 0–15, step 1. |
friction | number | 0.6 | How much the ground holds what slides on it. Range ≥ 0. |
material | Asset<material> | none | A material on the Voxel Ground shader. Empty uses the stock one, with the colours and pictures below. |
color0 | Color | #4d6b33 | |
color1 | Color | #5c452e | |
color2 | Color | #6b6966 | |
color3 | Color | #b88c40 | |
map0 | Asset<texture> | none | Laid from the three sides by world position. |
map1 | Asset<texture> | none | Laid from the three sides by world position. |
map2 | Asset<texture> | none | Laid from the three sides by world position. |
map3 | Asset<texture> | none | Laid from the three sides by world position. |
tile | number | 8 | How long one repeat of the pictures is in the world. Range ≥ 0.01. |
WorldGen
A generated world: names the game's rules (biomes, recipes, layers), their version, the world and its seed; what the rules place is laid out round the streaming sources.
Explained in world/generation.
| Field | Type | Default | Notes |
|---|---|---|---|
rules | string | empty | The rules the world is laid out by: a .esworld file, or the id of rules the game registered with registerWorldRules. |
version | number | 1 | The version of the rules the world was made with. A version the rules no longer have fails the world rather than laying out another one. Range ≥ 1, step 1. |
world | string | empty | The world (a planet, a level) as the game names it. |
seed | number | 1 | Another seed lays out another world by the same rules. Range step 1. |
paintGround | boolean | true | Whether the biomes paint the terrain. |
surface | enum | Plane | Plane: laid out over a Terrain. Planet: this entity is also a Planet, and the world is laid out over its six faces. One of Plane, Planet. |
seaLevel | number | 0 | The height of the sea above the planet's radius: ground lower than this is under water. |
groundStep | number | 1.5 | How far apart the ground is read under what is placed, in the units of the planet. Larger is quicker to lay out and follows the ground less closely: several units for trees seen from the air, 1.5 for a world walked on foot. Range ≥ 0.1. |
WorldPersistent
Keeps an entity's whole subtree out of the partition — it belongs to the persistent world.
Explained in world/streaming.
A tag — it carries no fields.
WorldStreamingSource
Asks for the places near it to exist; several sources are unioned.
Explained in world/streaming.
| Field | Type | Default | Notes |
|---|---|---|---|
prefetchRadius | number | 3000 | Cells this close are prepared, not shown. Range ≥ 0. |
loadRadius | number | 2000 | Cells this close are brought in. Range ≥ 0. |
unloadRadius | number | 3000 | Resident cells are kept until past this. Range ≥ 0. |
enabled | boolean | true |
WorldZone
An area of a generated world planned by hand: kept clear of what it excludes, held to a biome, its edge fading out.
Explained in world/generation.
| Field | Type | Default | Notes |
|---|---|---|---|
kind | string | "reserve" | What the zone is for (home, road, landing, building, resource, view): the game's own words. |
shape | enum | Circle | One of Circle, Box. |
radius | number | 10 | The circle's radius, in world units. Range ≥ 0. |
sizeX | number | 20 | The box's size along its own x. Range ≥ 0. |
sizeZ | number | 20 | The box's size along its own z. Range ≥ 0. |
falloff | number | 4 | Over how many world units past the outline the zone fades out: what it keeps out thins there. Range ≥ 0. |
priority | number | 0 | Where zones overlap, the higher priority holds the biome. Range step 1. |
excludes | string | "*" | The tags of what the zone keeps out, separated by commas (a layer, a recipe, its tags, decor, interactive); * keeps out everything; empty keeps nothing out. |
biome | string | empty | A biome the zone holds over its area; empty holds none. |
flatten | boolean | false | Level the terrain under the zone to the ground's height at its centre, blending back over its falloff: a plot to build on. |