# Details, lighting and unexpected blocks

Detail is what makes a build feel made rather than placed. The skill is to use a block for the
shape it has, not for what it is called. A trapdoor is not a door: it is a thin panel that can
be a shutter, an awning, a vent, a shelf or a table top. Look at each block as a shape.

Details go on last, on a good shape ([workflow.md](workflow.md)), and go where eyes land:
entrances, corners, the roofline, the base, the focal point. Leave the rest quiet.

## At a glance

- Use a block for its shape, not its name: a trapdoor is a shutter, a shelf, a table top or a
  planter wall; an upside-down stair is a cornice; fences are posts, rails and legs.
- Call `describe_block` before you use a block you have not placed: slabs, trapdoors, stairs,
  lanterns, doors and beds each turn their own way.
- A bottom slab's top face is half a block up, so a pot, lantern or plate set in the cell above
  it floats. For a table, counter or ledge use a top slab (`up: "down"`) or a top trapdoor.
- A lamp post is a designed object, slim (one cell across, four to six tall) with a base, a
  bracket or arm, and a cap; not a fence column with a lantern on top.
- A block that gives off particles (a campfire's smoke) sends them straight up through
  anything: keep the column above it open (a hollow chimney lined up over the fire) and never
  fake smoke with wool or grey blocks.
- Shaped parts (roof slopes, thin trim, arches, glowing fixtures) look better than stairs and
  slabs but need mods in the game: use them when `status` shows the user has them, otherwise ask
  once ([shaped-parts.md](shaped-parts.md)).
- To judge lights, take the picture with `light: "night"`; the default is an even, bright light.

## Which game?

Block lists differ between game versions and mods. The default Voxyl set follows 1.7.10 names,
and many users export to modpacks on that version; others import modern jars. **Search the
user's libraries (`find_blocks`) before you design around a block**, and use what is there.

| Exists in classic versions (1.7.10) | Needs a newer version |
| --- | --- |
| stairs, slabs, fences, fence gates, cobblestone walls, glass panes, iron bars, trapdoors, doors, ladders, buttons, pressure plates, signs, carpet, hardened (stained) clay, stained glass and panes, item frames, paintings, flower pots, cauldrons, hoppers, brewing stands, anvils, enchanting tables, bookshelves, redstone lamps, glowstone, torches, jack o'lanterns, daylight sensors, rails, levers, tripwire hooks, skulls, snow layers, vines, lily pads, quartz variants, nether brick fences | chains and lanterns (1.14 to 1.16), end rods (1.9), banners (1.8), sea lanterns (1.8), stripped logs (1.13), concrete (1.12), barrels, lecterns, composters, grindstones, stonecutters, bells, scaffolding (1.14), campfires, candles (1.17), dripstone, amethyst, deepslate, copper (1.17), blackstone (1.16) |

Where a classic block does the job, prefer it: it works everywhere. The tables below name the
classic block first.

## Thin and odd shapes you can borrow

| Block | Use it as |
| --- | --- |
| **Stairs (upside down)** | Cornices and crown moulding, eave undersides, brackets under balconies, arches, beam ends, chair seats |
| **Slabs (top or bottom)** | Sills, ledges, string courses, half-height steps, a thin roof or awning, counters, the cap of a column. A bottom slab's top is half a block up, so things set on it float: see "Surfaces things stand on" below |
| **Trapdoors** | Shutters (open, flat against the wall beside a window), awnings and canopies (held horizontal), vents and grilles, window and door panels, crate faces, ceiling coffers, shelves, table tops, siding, the walls of a planter box |
| **Fences, fence gates, nether brick fence** | Mullions in windows, railings, balusters, pipes (run along a wall), fine beams, lattice and trellis, chair legs, lamp posts |
| **Cobblestone walls** | Columns, capitals, battlements, balustrades, chimney pots, rooftop clutter, thick posts |
| **Iron bars, glass panes** | Windows with fine frames, grilles, cages, gratings, tracery lines, fire escapes, air vents |
| **Buttons, pressure plates** | Rivets, nails, studs, door handles, small bumps that give a flat surface relief, table tops, panel details on machines |
| **Ladders** | Ribs, trellises, fire escapes, drains, fine vertical lines on a wall (they sit flat against the face) |
| **Carpet** | Rugs and runners (colour for pattern), thin floor decoration, awnings, snow, tablecloths. Only 1/16 high |
| **Snow layers** | Fine 1/8-high steps on terrain, drifts on roofs, soft undulation |
| **Signs** | A thin board on a wall: nameplates, trim boards, lintels, shop signs, hanging shop signs |
| **Item frames and paintings** | Wall decoration, plaques, clocks and dials (frame a clock or compass), portholes, emblems, a shop's wares |
| **Flower pots** | Planters on sills and walls, chimney pots (empty), tiny vases |
| **Cauldrons** | Pots, troughs, sinks, wells, stew pots, a basin on a stand |
| **Hoppers** | Funnels, chimney pots, drains, pipe ends, bowls |
| **Brewing stands, anvils, enchanting tables** | Spires and small cages, workbenches, low altars, lecterns |
| **Redstone lamps, glowstone, daylight sensors** | Lit panels (hide them behind trim), flat sensors as solar or control panels |
| **Rails, levers, tripwire hooks** | Rungs, grates, fine metal detail, machine controls |
| **Skulls** | Tiny round forms on pillars and gateposts |
| **Vines, lily pads, leaves** | Ivy on walls, moss and decay, hedges. Leaves give a soft, irregular mass |

Newer versions add: **chains** (hang lanterns and bells, fine vertical lines, suspended
chandeliers, pipes when horizontal), **lanterns** (light you can hang or set, with a model),
**end rods** (hair-thin spires, lighting strips, antennae, fine cables), **banners** (flags,
hangings, curtains, signage), **barrels** (casks, drums, pillar stumps, kitchen units, side
tables), **lecterns** (podiums, music stands), **composters** (bins, planters), **grindstones and
stonecutters** (workshop props), **scaffolding** (trusses, lattice, construction scaffolds),
**campfires** (hearths and braziers, with smoke), **candles** (small, clustered light and
tabletop detail), **pointed dripstone** (stalactites, icicles, rain chains), **amethyst
clusters** (crystals).

`describe_block` tells you what a library block is. A block with its own model (a pane, a
fence, a stair, a trapdoor) should be a **whole-block** role: a shape on a role replaces the
model with a plain box, so do not make a lantern or bars a panel.

### Blocks that do not place like a cube

Several of the blocks above have their own placement rules in the game, and Voxyl follows them
through two arguments of `place`: `facing` (the side a front looks toward; a stair's front is the way it climbs) and `up` (the side
a top points to), or `attached_to` (the side of the cell the block holds on to; it sets `up`
to the opposite side), and `tags` for what a block keeps besides its turn (`open`, `hinge`,
`half`, `part`). **Call `describe_block` on any block you have not placed yet.** It says
what to pass (`how_to_place`), lists every look the block can take with the arguments that
make it (`orientations`), and lists states Voxyl cannot draw (`cannot_place`: a stair's corner
shapes), and the flags a cell keeps (`tags`), so you do not build on a guess.

| Block | How it places |
| --- | --- |
| **Trapdoor** | Stored as Minecraft stores it. `facing` is the side the plate looks toward when open, so it **hinges on the opposite side**; `up: "up"` is the bottom half of the cell (the default), `"down"` the top half (an awning edge, a coffer, a table top under a slab); `tags: {"open": true}` stands it open and upright against the hinge side. A shutter is an open trapdoor whose hinge side is the wall: facing away from it |
| **Fence gate** | One cell. `facing` is the way it swings open (the way a player faces to walk through it); `tags: {"open": true}` opens it. It reads as a low wall of rails when shut, so use it for garden gates and yard fences, not as a door |
| **Door** | Two cells, one above the other, with the same `facing` (the way the door faces; its plate stands on the opposite edge when shut) and the same `tags` `{"hinge": "left" or "right", "open": true}`. The upper cell also has `"half": "upper"`. `place` makes only the cells you list, so list both |
| **Bed** | Two cells: the foot, and the head one cell on in the `facing` direction. Both have the same `facing`; the head has `tags: {"part": "head"}` |
| **Lantern** | `attached_to: "down"` stands on the block below (the default), `"up"` hangs from the block above (under a beam, a chain or an eave) |
| **Stairs** | `facing` is the way the stair **climbs**: the tall back is on that side and the steps face the opposite way. On a roof every stair faces up the slope, toward the ridge ([roofs.md](roofs.md)). `up: "down"` is upside down (cornices, brackets). Corner shapes cannot be placed: build the corner from two stairs and a block |
| **Slabs** | `up: "up"` is a bottom slab (the lower half of the cell, the default), `"down"` a top slab (the upper half). A double slab is the full block. A bottom slab's top face is half a block below the cell's top, so what stands in the cell above it floats; a top slab's top is flush with the cell's top |
| **Torch-like blocks** | `attached_to`, as for lanterns, or a side to lean out of that wall (a palette placement of `torch` is needed first) |
| **Logs and pillars** | `up` names the line it lies along: `"up"` upright, `"north"` along Z, `"east"` along X |

Shutters flanking a window in a wall whose outer face is at `z = 0`, the wall to the south of
the cells they stand in (`z = -1`), mirrored across the window:

```call-live
place {"cells": [{"at": [3, 2, -1], "semantic": "Shutter", "facing": "north", "tags": {"open": true}}, {"at": [3, 3, -1], "semantic": "Shutter", "facing": "north", "tags": {"open": true}}], "symmetry": {"mirror_x": 5.5}}
```

Placing by click in the editor follows Minecraft: a trapdoor hinges on the block clicked, in the
half of the face that was clicked, and a right click on it opens or shuts it. A door is placed
with its upper half, a bed with its head.

### Moves that work

- **Shutters:** open trapdoors on the side faces of a window, standing against the wall
  (`facing` away from the wall, `open` true, see above). Two per window. A trapdoor left shut is
  a ledge, not a shutter.
- **Sill, lintel and header:** a slab or inverted stair under the window and a heavier block
  over it. Window boxes under the sill: a trapdoor or slab plus plants.
- **Mullions and lights:** split a large pane with a fence or bars column. Four small panes read
  as hand-made, one large pane as a hole.
- **Arches:** stairs at the two top corners of a doorway or window, with a keystone in the
  middle.
- **Corbels and brackets:** upside-down stairs under a balcony, a roof edge or a beam.
- **Pipes and conduits:** a row of fences, walls or bars along a wall, with a different
  block at joints. A line of pressure plates is a cable tray.
- **Rivets and studs:** buttons spaced regularly on metal panels. Sparingly: the point is
  relief, not noise.
- **Chimneys:** a stone column carried above the ridge, narrowing or capped with a slab, with a
  pot (a hopper, a flower pot or a wall block on top). Make it hollow: a flue straight up over
  the hearth, so a campfire's smoke rises through it and out of the top ("Particles and smoke"
  below). A solid stack, or one that is not over the fire, carries no smoke.
- **Planter boxes and raised beds:** ring a shrub, flowers or a crop with open trapdoors, one in
  each cell beside the plant, each standing on the plant's side of its cell (so `facing` points
  away from the plant, as for a shutter: `up: "up"`, `open: true`). They read as a thin timber
  box and keep the plant a full block. Add a post at each corner for a heavier one.
- **Shelves:** a shut trapdoor at the top of a cell (`up: "down"`) against a wall is a shelf: pots,
  lanterns and books stand on it and you can see the wall under it. Stack them every second
  cell up a wall; a bottom slab would leave the things on it floating.
- **Siding and panelling:** a column of open trapdoors against a wall is board-and-batten; set
  every other one the other way for a rhythm.
- **Gates and doors:** a door set back a cell, with a frame, a lintel, steps, a canopy and a
  lamp on each side. Doors are the focal point of most buildings.
- **Lettering and signs:** signs on a wall for names; a hanging sign over a shop door.

## Surfaces things stand on

Every item you set on a surface (a pot, a lantern, a plate, a book) sits in its own cell, at the
bottom of it. That cell has to start where the surface ends.

- A **bottom slab** fills the lower half of its cell, so its top is half a block up. Anything in
  the cell above it floats half a block clear. This is the commonest mistake with tables.
- A **top slab** (`up: "down"`) fills the upper half, so its top is the top of its cell and the
  cell above starts right on it. Use it for table tops, counters, mantels and ledges. Vanilla
  Minecraft has both halves (click the upper half of a block's side); Voxyl places either with
  `up`.
- A **top trapdoor** (`up: "down"`, shut) is thinner still, and the space under it is open:
  a shelf, a table top with visible legs, a window sill.
- **Carpet** and **pressure plates** sit on the floor of their cell, so they work as cloths and
  place mats on a full block or a top slab, and the cell above them is the usual height.
- A table: a top slab (or a row of them) with a fence post or wall at each end or corner for
  legs; the posts and the slab top are then the same height, and what you set above is flush.
  A fence post with a plate on top is a side table or a stool.
- After you build one, look at it from the side (`capture` with a low elevation): a gap of half
  a block under a pot is easy to see there and easy to miss from above.

## Lamp posts

A lamp post is the first thing a visitor meets where the path reaches the clearing, so it earns
a design. What reads as lazy is a column of fences with a lantern set on top. Real builders give
it a base, a shaft, an arm or a cage, and a cap, and keep it slim: one cell across, about four to
six cells tall (the light at head height plus one or two, never a tower), with a base that
widens by one cell at most. A bulky lamp post fights the building it announces.

Three that work, all from classic blocks:

- **The gallows lamp.** A heavier base (a cobblestone wall or stone brick, one or two cells),
  a shaft of fence posts, then at the top a fence reaching one or two cells sideways as an arm
  (fences join sideways by themselves), the lantern hanging below the end of the arm
  (`attached_to: "up"`), and an upside-down stair under the arm beside the shaft as a bracket.
  A shut trapdoor or a slab over the top of the shaft is the cap. Chains, where the library has
  them, carry the lantern one or two cells below the arm.
- **The cage lamp.** The same base and shaft, but the light is a glowstone or a lantern in the
  top cell, with an open trapdoor on each of its four sides standing like shutters (facing
  away from the light) and a slab or a stair on top as a roof. It reads as a glass lantern with
  a frame and is three cells wide at the head: keep the shaft slim to balance it.
- **The pillar lamp.** For a gate or a wall end: a short column of cobblestone wall or stone
  brick, a slab cap, and the lantern on that, a stair or trapdoor roof over it. It is
  squat, so it suits a garden gate or the end of a low wall rather than a path.

For any of them, light a pool on the ground and put the post where the path turns or meets
something (a gate, the steps), not in the middle of nowhere. Look at it from the side and from
the path at eye level: if you cannot tell what it is from ten cells away, give the head more
shape (the arm, the cap), not more height.

## Lighting

Treat light as design material, not as a safety measure.

- **Hide the source, show the glow.** Put glowing blocks behind trim, under slabs and stairs,
  inside recesses, behind trapdoor grilles and under overhangs. The light shows; the lamp does
  not. A scatter of torches on faces is the lighting equivalent of one flat block.
- **Make a hierarchy.** Brightest at the entrance and the focal point; moderate along the
  path and at other openings; dim elsewhere. A uniformly lit build has no mood.
- **Use warm and cool sources deliberately.** Warm (glowstone, torch, lantern) feels
  inhabited. Cool (sea lantern, soul lights) feels clinical or magical. Mix to make a
  statement, not by accident.
- **Light shapes:** lines of light (end rods, a glowing channel, lamps in a row) emphasise
  structure; pools of light at doors and windows emphasise welcome; silhouettes against
  glowing panels emphasise depth.
- **Windows at night:** a lit window is one of the best accents. Put a glow block behind a
  pane.
- **Light comes from the block.** Glowstone, lanterns, torches and the like emit by themselves, so
  choose one for the role; `glow: true` is only for making a block that does not emit (a concrete
  strip) light up. Use a separate role for lights (`Light`, `Lamp`, `Glow Channel`) so you can
  change them all at once.

Lights look right in a picture and still light nothing: light fades one level a cell, reaches 14
cells at most, and solid blocks stop it, so a lamp high above a floor or behind a wall does
nothing. `light_map` measures it (dark patches, lights that reach no floor, a heatmap of a layer
with `y`); a level 15 light leaves floor under 8 beyond 7 cells.

To see the effect, ask `capture` for `light: "night"` (block light on a dark sky), which does
not touch the user's view. The default `capture` light is even and bright, which is good for
judging form and finish but hides how a lamp reads. For the user's own view, `view_set` with
`lighting: "volume"` (needs WebGPU), `brightness` lower for mood, and a `time` of day such as
`sunset` or `midnight` moves their camera and settings, so tell them. `light: "scene"` takes
a picture exactly as their editor shows it.

Light does not have to come from a cube. Where shaped parts are available
([shaped-parts.md](shaped-parts.md)), a glowing strip along a cornice, a glowing cylinder or a
glowing arch is a fixture in its own right.

## Particles and smoke

Some blocks give off particles that the viewer draws: today the campfire's smoke, and more will
follow. `describe_block` lists a block's `particles`. They are not cells: nothing is stored,
exported, or placed, and the viewer can switch them off. What matters for a build is where they
go.

- **They rise straight up from the block's cell, through anything**, at about a cell a second,
  and fade after roughly five to fourteen cells. They do not bend around corners or follow a
  chimney that jogs sideways.
- **So the column above the block has to be open.** Smoke that starts inside solid stone is
  hidden by the stone. A chimney that carries smoke is hollow (at least one cell inside), runs
  straight up, and stands directly over the fire: the campfire's cell and every cell above it
  are open, up through the cap. Put the campfire at the bottom of the flue, in the hearth, and
  build the chimney stack up from that same column. A stack beside the fireplace does nothing.
- **Keep the opening within about eight cells of the fire.** A cabin hearth with the chimney
  two or three cells above the ridge is right; a flue forty cells tall shows no smoke at the
  top. Cap it with something the smoke can still leave (a chimney pot with an open middle, a
  ring of stairs or slabs around the open cell), not a solid slab.
- **Never fake smoke with blocks.** A trail of grey wool or cobwebs reads as a staircase of
  blocks, not as smoke. If the library has no emitter, leave the chimney clean.
- **Smoke says someone is home.** A lit hearth in a cottage, a campfire in a camp or a kitchen
  yard, a signal fire on a tower, a forge or a smokehouse stack, a camp ring in a clearing. A
  ruin or an empty house gets a cold chimney. The campfire also gives light (a warm pool),
  so it can be a room's light and its focal point at once.
- **A capture does not show particles** (they move, and a capture is the same picture every
  time), so check the geometry instead: `inspect` the single column of cells from the fire up
  to the top (a `box` one cell wide) and confirm every cell above it is empty, or look at the
  chimney in a side `cutaway` or `xray` capture and see a clear shaft from the hearth to the
  open top. Tell the user to look at it in their own view, where the smoke is drawn.

## Props and life

A build with nothing around it feels like a model. A few props, placed with intent, tell a
story: barrels and crates by a door, a cart, a woodpile, a well, a hanging sign, flower
boxes, a lamp post, a bench, laundry (carpet or banners) on a line, a bird bath, a signpost,
tools against a wall.

- Cluster in odd numbers (three barrels, one crate on top).
- Place props where use suggests: a woodpile by the door, a cart by the gate.
- Vary heights so the silhouette stays alive.

## Do not

- Repeat one detail in every possible place. Repetition without a break is wallpaper.
- Use full blocks where a thin piece would give relief.
- Light every surface evenly.
- Fill every cell with detail: leave rest areas.
- Detail something that cannot be seen from where a visitor stands (high roofs, far walls).
