Create Wiki · Create: Lightworks

Headlight and Tail and Brake Light

Two Lightworks blocks are made for vehicles. The Headlight lights the road and switches on by itself on the correct end, while the Tail and Brake Light glows at the back and flares up under braking. They work on Create contraptions, trains and Create Aeronautics craft.

Create Create: Lightworks 1.0.1 · Create 6.0.10 · Minecraft 1.21.1 · updated on

0:00 / 0:19
A brass cart with a Headlight at each end drives forward, backs up, then rolls with both Headlights redstone powered.

Quick facts

Headlight
18° either side of the axis (+ 12° soft edge), at full strength to 12 blocks, gone at 20
On the move
only Headlights facing the direction of travel are lit
Redstone at assembly
Headlight lit in both directions, dimmed by the signal
Tail light
red, lens at 45%; up to 6 block light
Braking
20 ticks (1 s) at full brightness after slowing down or stopping
Recipes
2 Headlights or 2 Tail and Brake Lights per craft
Version
Create: Lightworks 1.0.1 · Create 6.0.10

Crafting table recipe

Glass
Iron SheetElectron TubeIron Sheet
Brass Sheet
2 Headlights

→ 2 Headlights

  • 1 ×Glass
  • 2 ×Iron Sheet
  • 1 ×Electron Tube
  • 1 ×Brass Sheet

Headlight

0:00 / 0:19
A brass cart with a Headlight at each end drives forward, backs up, then rolls with both Headlights redstone powered.

The Headlight (recipe shown here: Glass, two Iron Sheets, an Electron Tube and a Brass Sheet, for two) is a short, wide Searchlight meant for vehicles: 18° either side of the axis plus a 12° edge, at full strength to 12 blocks, dark by 20. It is aimed with its Pan and Tilt boxes and dyed just like a Searchlight. Placed in the world it stays on all the time, and redstone dims it.

Driving forward

The cart moving forward: the front Headlight shines, the rear one is off

On a moving contraption, a train or a Sable vehicle, each Headlight compares the motion with the direction of its beam. Those facing the direction of travel stay on and the rest go dark. Right after assembly they are all on until the first movement sorts them out.

Reversing

The cart backing up: now the other Headlight is the one shining

When the vehicle sets off the other way, the roles swap: the rear lamp becomes the leading one. So fit a Headlight at each end of a reversible train, a minecart contraption or a piston going back and forth: there is no wiring to do.

Lit in both directions

Both Headlights, powered before assembly, staying on during the trip

For lamps that are always on, like position lights, give them a redstone signal before assembling. They then ignore the direction of travel and shine either way, dimmed as usual: with a signal of 4 they sit at 11 out of 15. Engineer's Goggles show the mode, automatic or redstone override.

Tail and Brake Light

0:00 / 0:14
A cart with a Headlight at the front and a tail light at the back: the lamp flares as it stops, then again after reversing.

The Tail and Brake Light (Glass, two Red Dye, an Electron Tube and an Iron Sheet, for two) is a red lamp with no beam. Normally its lens runs at 45%: visible from afar without dazzling anyone. It goes on any face, ideally at the back of the vehicle.

Braking

The cart stopping: the tail light turns bright red

On a moving vehicle the lamp keeps an eye on the speed. When it drops sharply, or the vehicle comes to a halt, it goes to full power for 20 ticks, one second. The mod compares the average speed of the last three ticks with the three before and ignores the first second after setting off, so starting under load does not trigger false brake lights.

As a fixed lamp

The red Tail and Brake Light at the end of the cart

Placed in the world, away from any vehicle, it never brakes: it simply shines red with up to 6 block light, which makes it a nice mood lamp for a depot. Redstone dims it, a dye changes its colour and Contraption Controls switch it off on an assembled contraption.

Kitting out a vehicle

A good set: two Headlights at the front, two at the back, two Tail and Brake Lights, plus a Rotating Beacon on the roof for a service vehicle. On a Create Aeronautics airship built with the Physics Assembler, Headlights follow the direction of flight the same way. Without a dynamic lights mod, a vehicle lights the ground through light blocks that exist only for each player. Test the set on a short track or a flat field first: it is much easier to swap a lamp that faces the wrong way before the vehicle is assembled.

← All wiki guides

Sources for the numbers (Create Create: Lightworks 1.0.1 · Create 6.0.10 code)
  • Create: Lightworks 1.0.1 (createlightworks-neoforge-1.21.1-1.0.1.jar): code from the public repository github.com/Goldsk1n/CreateLightworks at tag v1.0.1, recipes from the jar's data folder, Ponder scenes replayed by our engine.
  • Mod by GoldskinMC, MIT licence: models and textures by its authors, rendered from the jar; no text from the mod is copied.
  • Headlight: content/LightType.java (HEADLIGHT ConeFalloff(18, 12, 12, 20), Kind.HEADLIGHT), content/MovingBeam.java (lit only while leading unless powered at assembly; lit until the first motion), content/directional/DirectionalLightMovement.java, DirectionalLightBlockEntity.java (Sable vehicles).
  • Tail and Brake Light: content/signal/BrakeLight.java (BRAKE_TICKS 20, 3-tick windows, SETTLE_TICKS 20), content/signal/SignalLampBlockEntity.java (TAIL_GLOW 0.45), content/LightType.java (TAIL_LIGHT, light 6), content/signal/SignalLampMovement.java (Contraption Controls); recipes: data/lightworks/recipe/headlight.json, tail_light.json (2 per craft).

Original texts and animations by Create France, rendered from the mod's Ponder scenes. Create is a mod by the Create Team, not affiliated with Create France.