HomeJavaModsVillagers Keep TFC Lamps Lit
Villagers Keep TFC Lamps Lit
Villagers Keep TFC Lamps Lit — screenshot 1Villagers Keep TFC Lamps Lit — screenshot 2

Villagers Keep TFC Lamps Lit

A Minecraft mod that makes TerraFirmaCraft lamps more viable for permanent structures by having nearby villagers maintain them.

📝 Features

Current Features

Planned Fearures

📕 How It Works

The mod checks for nearby villagers when a lamp block is ticked (should work with any block entity extending TFC's LampBlock class). If villagers are within range and the lamp's fuel level falls below the configured threshold, the lamp will be refilled up to a random amount of fuel (as defined by the range in the config).

✏️ Configuration

All values can be adjusted in the bundled config file (found in forge_dir/config/villagerskeeptfclampslit.toml):

ℹ️ Technical Note

When using mods that can extract fluids (e.g. Create), it is probably possible to infinitely extract the fuel as it is being refilled by villagers. However, this shouldn't be too big of a deal because:

  1. Lamps only get refilled on random block ticks
  2. If a lamp is emptied before being ticked, it will extinguish
  3. The config values can be adjusted to lower amounts if needed, to thwart mechanisms like really slow pump extraction.

Basically, the only way it's possible is if you either extract the fluids slow enough or you find a way to keep a small amount of fluid in the lamp. I might later refine this by adding a proper cooldown to how often the lantern can be refilled, and it's one of the things I plan on adding to this mod.

⚖️ License

This project is licensed under the MIT license. Feel free to include in modpacks.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more