跳到正文

TrafficCraft: Traffic light countdown

作者:GamerMax_1254

Client-side addon for TrafficCraft by MrJulsen. Adds a countdown timer overlay to traffic lights. Three-section lights show the timer on the yellow segment, two-section lights show it on the currently unlit segment, single-section lights are skipped.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

TrafficCraft: Traffic Light Countdown

A client-side Fabric addon for TrafficCraft by MrJulsen. Adds a countdown timer overlay on traffic lights — just like real-world traffic signals with countdown displays.

What it does

This mod renders a 7-segment digital countdown directly on the traffic light itself, showing how many seconds remain until the next phase change. It reads the schedule of each traffic light (or observes it, if controlled remotely) and displays the timer on the appropriate segment:

  • Three-section lights — timer on the yellow segment
  • Two-section lights (pedestrian) — timer on the currently unlit segment (so it doesn’t blend with the active light)
  • Single-section lights — no timer

The digits are color-coded to match the currently active signal (red or green), and are hidden entirely during yellow transition phases, since they’re too short to be useful.

Why you should install it

  • Makes intersections more realistic and immersive
  • Helps players (and traffic!) know exactly when the light will change
  • Zero configuration — works out of the box with any existing TrafficCraft setup
  • Client-side only — no need to install on servers, works in vanilla multiplayer
  • Supports Traffic Light Controllers — the addon automatically learns the phase timing by watching the light for 1-2 full cycles
  • Handles edge cases: shows a blinking -- -- when the game is paused, blinks 99 for overly long phases

Requirements

You must have all of the following installed:

Important notes

  • The timer only appears when the light is running on a schedule (either its own or a controller’s).
  • For lights controlled by a Traffic Light Controller, the timer will not appear immediately — the addon needs to observe 1-2 full cycles to learn the phase durations. After that, it works normally.
  • Phases shorter than 3 seconds (like standard yellow) intentionally show no timer.
  • This mod does not modify any TrafficCraft blocks or gameplay — it only adds a visual overlay.

Compatibility

  • ✅ Works in singleplayer and multiplayer
  • ✅ Server does not need this mod
  • ✅ Works with all traffic light variants and configurations
  • ✅ Works with Traffic Light Controllers

Credits

  • MrJulsen — creator of TrafficCraft and DragonLib, without which this addon wouldn’t exist
  • Design inspired by real-world traffic signal countdown timers

Source & Issues

常见问题

TrafficCraft: Traffic light countdown 支持哪些 Minecraft 版本?

TrafficCraft: Traffic light countdown 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

TrafficCraft: Traffic light countdown 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分