Back to mods
lantern project artwork

Vintage Story Mod DB · Vintage Story mod

lantern

Extends the range of all player-held lights with the "lightdistance" attribute with little invisible light entities. Now with mod support, configurable distance, and colored lights support. FAQ Hey, isn't that the "Mario is Missing" box art? I have no idea w

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which lantern release should I use?

Updated 3 years ago
Latest stable file 2.0.5
Game version 1.18.0-rc.2
Loader Built-in Vintage Story mod system

lantern 2.0.5 targets 1.18.0-rc.2. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is lantern required on the client, server, or both?

It must be installed on the client. Installation on the dedicated server is optional.

Client Required
Dedicated server Optional
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This release supports both sides, but the source does not require it on the server.

What else does lantern 2.0.5 need?

2.0.5. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add lantern without breaking your instance.

Built for lantern 2.0.5. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.5. It targets 1.18.0-rc.2; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.5. It opens that exact file at the source.

About this project

What does lantern add?

Extends the range of all player-held lights with the "lightdistance" attribute with little invisible light entities.
Now with mod support, configurable distance, and colored lights support.

FAQ

Hey, isn't that the "Mario is Missing" box art?
I have no idea what you're talking about.

Are you kidding?? But that's clearly Luigi...
You must be mistaken. That's Mr. Lantern.

Why is Mr. Lantern frowning?
Because he didn't install the lantern mod.

So now that mod support is a thing, how do I make my light block compatible?
Just give it the "lightdistance: 21" attribute with the value representing how far (in blocks) you want the light beam to reach.
Here's how it works internally: First it creates an orb 9 blocks away. It will then create a new light orb every 4 blocks until it reaches or surpasses the defined distance.

Do I need to be a coder or can JSON modders/patchers use this system too?
You can add the value to the "attributes" or "attributesbytype" section of your JSON.
attributes: {lightdistance: 21} Simple as.

Do I have to worry about setting the light level and color?
Nope not at all. It uses the HSV already defined in JSON.

You think Mr. Lantern is going to download the mod now?
Probably not. He's too busy looking for his lost brother.

Is there a max limit to how far lantern light can go?
There isn't any, but any past 80 becomes meaningless since entities (and their light) stop rendering that far out.

OK so if Mr. Lantern has an L on their cap because their last name is Lantern, why does his brother have an M on their cap?
Erm, so uh, so you know how Mario- actually forget Mario. It's... Lantern... Lantern. Like the super mario movie.

Sure I get that part, but that doesn't actually answer what the M on Mr. Lantern's brother's cap stands for.
You know, I don't actually have an answer for that one. I'll ask him once he finds his brother.

Project description from Vintage Story Mod DB.

Pick your setup

lantern releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

lantern versions and loaders

8 of 8 releases match

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.