Download Lantern — Minecraft Mods — MetaMods
Lantern

Lantern

Active

Downloads

0

Last update

1 year ago

Versions

1.20 — 1.20.2
Server
Forge
Adventure
Decor
Game mechanics

Lantern

Create Customizable and Interactive Light Sources!

The Lantern mod allows you to create completely unique glowing blocks with custom textures. All you need to get started is configure the lantern parameters in configuration files, specifying their identifiers, names, and textures. After configuration, you can instantly create these blocks in the game using the special lantern command.

A particularly interesting feature is interactive lanterns. If a lantern has multiple texture options, each right-click will cycle through different textures and lighting levels.

Mod demonstration Interactivity demonstration

Available Commands

  • /lantern - displays a list of all configured lanterns
  • /lantern <id> <quantity> - adds the specified quantity of the required lantern to your inventory

Permission System

lantern.lantern:
  description: Allows using the lantern command to create lanterns.
  default: op
lantern.use:
  description: Allows interaction with lanterns.
  default: true

Configuration Example

Light values can range from 0 to 15.

For obtaining textures, you can use any suitable resources.

lanterns:
  - id: 0
    name: Lantern
    lore: []
    light:
      - 0
      - 15
    textures:
      - eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzZlOTM4NTNmZWMxODdlMTkwYWJkNWUwMTcxN2IyZTE1YzE1ZmU2MGJmMzVhZmEzNGJkMTc2YmRiOGFjNzdiIn19fQ==
      - eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODc5ODY5YTk4N2I4MmVjMjkzYWUzNDUxOTc2YjZhMWQ4MjFkZWUwZDhiZTdiMzkxOWY4YWQ5Y2M4ZTU1OGE1MiJ9fX0=
  - id: 1
    name: Traffic Light
    lore: []
    light:
      - 4
      - 8
      - 12
    textures:
      - eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzRkNDZjM2ZmODhlMGRiYzUxZjY2MjE5M2UxOWViNGEwMWNkMWY0MGFkZDNhMWJiMTU2NjcwOTlhOGJiYjIifX19
      - eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzk1MGRlMzg0M2UwNmIzM2ZmYzMzNGMxNTRiZjliMzk4ODgxNWM3ZTU0NjM2MjM3N2ZlN2EwNzQzNmFiIn19fQ==
      - eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmZkYzRjODg5NWUzZjZiM2FjNmE5YjFjZDU1ZGUzYTI5YmJjOGM3ODVlN2ZiZGJkOTMyMmQ4YzIyMzEifX19
Project members
infinityraider

infinityraider

Flomich

Flomich

Developer

Created: 26 Nov 2023

ID: 21346