Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Flomich

Customizable and interactable light blocks

Report Lantern?

Lantern

Create Customizable and interactable light blocks!

Lantern lets you create blocks with custom textures that emit light. Simply add a lantern to the config by specifying its id, name and textures and generate it ingame by using the lantern command. A lantern with multiple textures will switch through its textures and light levels on right click.

Commands

/lantern Shows you a list of configured lanterns.
/lantern <id> <amount> adds the specified lantern to your inventory.

Permissions

lantern.lantern:
  description: Allows you to use the lantern command to generate lanterns.
  default: op
lantern.use:
  description: Allows you interact with lanterns.
  default: true

Config example

Light values go from 0 to 15.

You can get textures from Minecraft-heads.com by clicking on a custom head on the website and copying the "Value" found at the bottom.

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

Contact

For questions and inquiries message me on Discord or Spigot

Information

CategoryGameplay
Published onNovember 20, 2023
LicenseGPL
Downloads116
Stars8
Watchers2

Pinned Versions

Members

Avatar for Flomich

Flomich

Owner