Language

Custom Light

Custom Light

Modrinth

You can customize the light level of all blocks.

258 downloads updated 2mo ago
latest v21.11.2 Modrinth
Neoforge 1.21 – 1.21.11 Game-mechanicsUtility

NeoForge
Minecraft

Custom Light

Overview

Custom Light allows players/server administrators to customize the light emission levels of in-game blocks. The light level of any block can be modified through a simple configuration file without altering core game files, supporting both client and server environments.

Configuration File Generation

The mod automatically generates corresponding configuration files based on the running environment, located as follows:
| Environment | File Path | File Name |
|------------------------|--------------------------|--------------------|
| Client (when launching the game) | Game root directory/config | custom_light_Client.toml |
| Server (when starting the server) | Server root directory/config | custom_light_Server.toml |

Configuration Synchronization

When a client joins a server with this mod installed, it will automatically synchronize the server's custom_light_Server.toml configuration file to ensure consistent block lighting effects between the client and server.

Configuration File Instructions

The default configuration files for the client and server are identical. Below is the default configuration example and format explanation:

# Custom Light config
# 格式: [light] 下方的 "命名空间:方块ID" = 亮度(0-15)
# Format: Under [light], "namespace:block ID" = light level (0-15)
[light]
"minecraft:torch" = 15
"minecraft:wall_torch" = 15

Format Rules

  1. Configuration items must be written under the [light] node;
  2. Each line follows the format: "namespace:block ID" = light level;
  3. The light level ranges from 0 to 15 (0 = no light, 15 = maximum light);
  4. In theory supports all vanilla Minecraft blocks and mod-added blocks (correct namespace and block ID must be provided);

Notes

  1. After modifying the configuration file, restart the client/server for changes to take effect;
  2. Server configuration takes priority over client configuration, and the client configuration will be overwritten when joining the server;
  3. Do not fill in invalid block IDs, as this may cause configuration failure or game errors;
  4. Due to the limitations of Minecraft's save file format, light levels greater than 15 may have unknown consequences, so do not attempt to set light levels above 15.

Versions

Release
21.11.2
neoforge · 1.21.11 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
31
Release
21.10.2
neoforge · 1.21.10 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
9
Release
21.9.2
neoforge · 1.21.9 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
4
Release
21.8.2
neoforge · 1.21.8 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
10
Release
21.7.2
neoforge · 1.21.7 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
4
Release
21.6.2
neoforge · 1.21.6 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
8
Release
21.5.2
neoforge · 1.21.5 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
6
Release
21.4.2
neoforge · 1.21.4 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
10
Release
21.3.2
neoforge · 1.21.3 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
7
Release
21.2.2
neoforge · 1.21.2 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
8
Release
21.1.2
neoforge · 1.21.1 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
60
Release
21.0.3
neoforge · 1.21 · 2mo ago
Enhance the chunk refresh logic to fix the bug that occasionally causes Windows system lag to a certain extent.
11

Comments 0

No comments yet. Be the first to share your thoughts.