Skip to content

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.

FieldTypeDefaultNotes
typestringempty
propertiesobjectempty

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.

FieldTypeDefaultNotes
shapeenumSphere One of Sphere, Box, Capsule.
radiusnumber50 Range ≥ 0.
halfHeightnumber50 Range ≥ 0.
halfExtentsVec3(50, 50, 50)
invertedbooleanfalse
masknumber65535 Range 0–65535, step 1.
enabledbooleantrue

ParticleEmitter

A particle system: emission, lifetime, shape, forces, noise, colour and size over life, sub-emitters and trails.

Explained in world/particles.

FieldTypeDefaultNotes
ratenumber10 Range ≥ 0.
burstCountnumber0 Range ≥ 0, step 1.
burstIntervalnumber1 Range ≥ 0.
durationnumber5 Range ≥ 0.
simulationSpeednumber1How 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.
startDelaynumber0Seconds after the emitter starts playing before it emits anything. The duration counts from the end of the delay. Range ≥ 0.
loopingbooleantrue
playOnStartbooleantrue
maxParticlesnumber1000 Range ≥ 1, step 1.
gpuSimulationbooleanfalseSimulate on the GPU (WebGPU compute). Falls back to a capped CPU simulation elsewhere. Sub-emitters, trails and physics collision are CPU-only.
lifetimeMinnumber5 Range ≥ 0.
lifetimeMaxnumber5 Range ≥ 0.
shapeenumCone One of Point, Circle, Box, Cone, Sphere, Hemisphere.
shapeRadiusnumber100 Range ≥ 0.
shapeSizeVec3(100, 100, 0)
shapeAnglenumber25
speedMinnumber500
speedMaxnumber500
angleSpreadMinnumber0
angleSpreadMaxnumber360
startSizeMinnumber100 Range ≥ 0.
startSizeMaxnumber100 Range ≥ 0.
endSizeMinnumber100 Range ≥ 0.
endSizeMaxnumber100 Range ≥ 0.
sizeEasingenumLinear One of Linear, EaseIn, EaseOut, EaseInOut.
startColorColor#ffffff
endColorColor#ffffff00
colorEasingenumLinear One of Linear, EaseIn, EaseOut, EaseInOut.
rotationMinnumber0
rotationMaxnumber0
angularVelocityMinnumber0
angularVelocityMaxnumber0
gravityVec3(0, 0, 0)
dampingnumber0 Range ≥ 0.
addedVelocityMinVec3(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.
addedVelocityMaxVec3(0, 0, 0)
speedLimitnumber0The 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.
limitDampennumber1How 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.
noiseStrengthnumber0 Range ≥ 0.
noiseFrequencynumber0.01 Range ≥ 0.
noiseScrollSpeednumber0
noiseOctavesnumber1 Range 1–8, step 1.
textureAsset<texture>none
spriteColumnsnumber1 Range ≥ 1, step 1.
spriteRowsnumber1 Range ≥ 1, step 1.
spriteFPSnumber10 Range ≥ 0.
spriteLoopbooleantrue
blendModeenumAdditive One of Normal, Additive, Multiply, Screen, PremultipliedAlpha, PmaAdditive, Lighten, Darken, Overlay, None.
layerenum (sortingLayers)0 Range step 1.
materialAsset<material>none
simulationSpaceenumWorld One of World, Local.
renderModeenumBillboardBillboard 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.
velocityScalenumber0Stretched: how much of the particle's speed is added to the quad's length, in world units per unit of speed. Range ≥ 0.
lengthScalenumber1Stretched: the quad's own length is its size times this. Range ≥ 0.
intensitynumber1Multiplies 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.
enabledbooleantrue
subEmitterTriggerenumDeath One of Death, Birth, Collision.
subEmitterChancenumber1 Range 0–1.
subEmitterInheritVelocitynumber0 Range 0–1.
subEmitterEntitynone
trailEnabledbooleanfalse
trailWidthnumber8 Range ≥ 0.
trailPointsnumber6 Range 2–12, step 1.
trailMinDistancenumber6 Range ≥ 0.
collisionEnabledbooleanfalse
collisionFloornumber0
collisionModeenumFloor One of Floor, Physics2D, Physics3D, Depth, Sdf.
collisionMasknumber65535 Range 0–65535, step 1.
collisionQueryBudgetnumber128 Range 0–4096, step 1.
collisionMaxDistancenumber0 Range ≥ 0.
collisionFallbackenumFloor One of Floor, Skip.
collisionEventsbooleanfalse
collisionEventBudgetnumber32 Range 0–1024, step 1.
collisionThicknessnumber30 Range ≥ 0.
collisionBouncenumber0.5 Range 0–1.
collisionFrictionnumber0.1 Range 0–1.
collisionLifetimeLossnumber0 Range 0–1.
colorGradientobject{"stops":[]}
sizeCurveobject{"keys":[]}
burstsarrayempty

ParticleForceField

A field that pushes particles around — point, directional, vortex or drag.

Explained in world/particles.

FieldTypeDefaultNotes
typeenumDirectional One of Directional, Point, Vortex, Drag.
strengthnumber200
radiusnumber0 Range ≥ 0.
directionVec3(1, 0, 0)
falloffbooleantrue
enabledbooleantrue

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.

FieldTypeDefaultNotes
startSizeMinnumber1
startSizeMaxnumber1
endSizeMinnumber1
endSizeMaxnumber1
speedMinnumber0
speedMaxnumber0
gravityVec3(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.

FieldTypeDefaultNotes
idstringempty
kindstringempty

RememberState

Keeps an entity as it was left when its cell unloads, and keeps it gone once destroyed.

Explained in world/streaming.

FieldTypeDefaultNotes
keepTransformbooleantrueKeep 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.

FieldTypeDefaultNotes
stepnumber20How far apart its rows are along the curve. Finer follows the ground and the bends more closely. Range ≥ 0.01.
acrossnumber4How many cells across. More follows a ground that crowns or slopes under the road. Range 1–32, step 1.
widthScalenumber1Times the width each spline point says. Range ≥ 0, step 0.01.
liftnumber0.5How far above the ground it lies. Enough to win against the ground from as far as it is seen. Range ≥ 0, step 0.01.
edgeFadenumber0.35The share of its half width over which each edge fades into the ground. Range 0–1, step 0.01.
tilenumber200The 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.

FieldTypeDefaultNotes
cellSizenumber1000Edge of one cell on the plane. Range ≥ 1.
planeenumGround (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).
farProxiesbooleanfalseBake each cell a merged, simplified stand-in of its static meshes, drawn while the cell is not loaded.
farDistancenumber8000How far from a source an unloaded cell still shows its far proxy. Range ≥ 0.
proxyErrornumber1How far a far proxy surface may move from the original. Range ≥ 0.
proxyRationumber0.01The 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.

FieldTypeDefaultNotes
sourceAsset<tilemap>none

TilemapLayer

One layer of tiles — its tileset, cell size, orientation, sorting and collision.

Explained in world/tilemaps.

FieldTypeDefaultNotes
cellSizeVec2(32, 32)
orientationenumOrthogonalGrid layout: orthogonal, isometric, staggered, or hexagonal. One of Orthogonal, Isometric, Staggered, Hexagonal.
hexSideLengthnumber0Hexagonal side length in px (0 = a regular pointy hex = tileHeight/2). Ignored unless orientation is Hexagonal. Range ≥ 0, step 1.
staggerAxisenumYStagger axis (staggered/hex): Y shifts rows, X shifts columns. One of Y, X.
staggerIndexenumOddWhich lines carry the half-cell shift (staggered/hex). One of Odd, Even.
originOffsetVec2(0, 0)
tilesetAsset<texture>none
tilesetColumnsnumber1 Range ≥ 1, step 1.
renderLayerenum (sortingLayers)0 Range step 1.
tintColorColor#ffffff
opacitynumber1Layer transparency (0 = invisible, 1 = opaque). Range 0–1.
parallaxFactorVec2(1, 1)
visiblebooleantrue
litbooleanfalseReceive 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.

FieldTypeDefaultNotes
cellSizenumber1The side of a cell: the finest thing the ground can show. Half the size is eight times the cells. Range ≥ 0.05.
chunkCellsnumber24How many cells a chunk has a side. Smaller makes less again for each edit and draws more meshes. Range 8–64, step 1.
minYnumber-48How far down the volume goes from the entity. Nothing digs through its floor.
maxYnumber48How far up the volume goes from the entity. Nothing is built past it.
seednumber1Another seed is another ground. A save holds what was changed in the ground this seed makes. Range step 1.
surfaceHeightnumber8Where the ground lies on average, from the entity.
hillHeightnumber14How far the hills rise and fall from it. Range ≥ 0.
hillScalenumber60How wide the hills are. Range ≥ 1.
caveWidthnumber2.5How wide the tunnels through the ground are. 0 has none. Range ≥ 0.
caveScalenumber36How far apart the tunnels are. Range ≥ 1.
soilDepthnumber5How deep the soil goes before rock. Range ≥ 0.
oreAmountnumber0.06How much of the rock is ore. Range 0–1, step 0.01.
drawDistancenumber96How far from the eye the ground is drawn. Range ≥ 1.
castShadowsbooleantrueWhether the ground casts shadows.
collisionbooleantrueWhether 3D bodies and characters collide with the ground.
collisionDistancenumber32How far round each moving body and character the ground is built for collision. Range ≥ 1.
collisionLayernumber0The collision layer the ground is in (0 to 15). Range 0–15, step 1.
frictionnumber0.6How much the ground holds what slides on it. Range ≥ 0.
materialAsset<material>noneA material on the Voxel Ground shader. Empty uses the stock one, with the colours and pictures below.
color0Color#4d6b33
color1Color#5c452e
color2Color#6b6966
color3Color#b88c40
map0Asset<texture>noneLaid from the three sides by world position.
map1Asset<texture>noneLaid from the three sides by world position.
map2Asset<texture>noneLaid from the three sides by world position.
map3Asset<texture>noneLaid from the three sides by world position.
tilenumber8How 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.

FieldTypeDefaultNotes
rulesstringemptyThe rules the world is laid out by: a .esworld file, or the id of rules the game registered with registerWorldRules.
versionnumber1The 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.
worldstringemptyThe world (a planet, a level) as the game names it.
seednumber1Another seed lays out another world by the same rules. Range step 1.
paintGroundbooleantrueWhether the biomes paint the terrain.
surfaceenumPlanePlane: 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.
seaLevelnumber0The height of the sea above the planet's radius: ground lower than this is under water.
groundStepnumber1.5How 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.

FieldTypeDefaultNotes
prefetchRadiusnumber3000Cells this close are prepared, not shown. Range ≥ 0.
loadRadiusnumber2000Cells this close are brought in. Range ≥ 0.
unloadRadiusnumber3000Resident cells are kept until past this. Range ≥ 0.
enabledbooleantrue

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.

FieldTypeDefaultNotes
kindstring"reserve"What the zone is for (home, road, landing, building, resource, view): the game's own words.
shapeenumCircle One of Circle, Box.
radiusnumber10The circle's radius, in world units. Range ≥ 0.
sizeXnumber20The box's size along its own x. Range ≥ 0.
sizeZnumber20The box's size along its own z. Range ≥ 0.
falloffnumber4Over how many world units past the outline the zone fades out: what it keeps out thins there. Range ≥ 0.
prioritynumber0Where zones overlap, the higher priority holds the biome. Range step 1.
excludesstring"*"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.
biomestringemptyA biome the zone holds over its area; empty holds none.
flattenbooleanfalseLevel the terrain under the zone to the ground's height at its centre, blending back over its falloff: a plot to build on.