跳到正文

Open Lights

作者:CappleApple

Adds open sourced shader compatible lighting to minecraft

收藏

介绍

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

Open Lights

Open Lights adds handheld flashlights and placeable lighting to Minecraft Forge 1.20.1, with visible light beams, block shadows, and colored light passing through stained glass.

Carry a flashlight while exploring, aim a spotlight down a hallway, or light a room with point and rectangular area lights.

Features

  • Handheld flashlight: works in either hand. Right-click to toggle; no batteries required.
  • Placeable lights: craft point lights, directional spotlights, and rectangular area lights. Toggle them, adjust their range, and apply dyes to change their color.
  • Volumetric beams: visible fog and floating dust inside flashlight beams.
  • Colored transmission: clear glass lets light through, stained glass colors it, and tinted glass blocks it. Water and ice also affect transmission.
  • Block shadows: walls and other block shapes obstruct light. Entity models do not currently cast shadows.
  • Custom beam profiles: configure inner and outer beam colors, brightness, angles, range, softness, and falloff independently.

Configuration and performance

Set beam defaults in the server config, or use datapacks to customize individual light profiles. Profiles synchronize when players join and update through /reload.

Client settings control rendering resolution, shadow quality, beam range, dust, and light limits. Cached geometry and reusable shadow maps reduce repeated work. The renderer supports up to eight nearby lights, with shadows on up to four.

TaCZ integration

The optional TACZ Open Lights addon connects TaCZ weapon flashlight attachments to Open Lights, including animated attachment positioning and synchronized toggles.

Requirements and compatibility

Requires **Forge 47.4.10 or newer, *Minecraft 1.20.1*, and *Java 17*. Install Open Lights on both the client and server.

Tested with Embeddium 0.3.31, Oculus 1.8.0, and Complementary Reimagined r5.9.3. Other shader packs, OptiFine, and Distant Horizons are currently untested.

Modpacks and source

Modpack and server use is permitted, including monetized packs and servers, under the license terms.

Source code · Beam configuration guide · Developer API

常见问题

Open Lights 支持哪些 Minecraft 版本?

Open Lights 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Open Lights 怎么安装?

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

评论

登录后评论和评分

CappleApple 的其他作品

查看全部 →