Перейти к содержимому
Mineforgian

Flashlight

Adds a new Utility Item! The Flashlight!

Загрузки
17K
Подписчики
52
Обновлён
8 июля 2025 г.
Лицензия
MIT

Опубликован 16 ноября 2024 г.

Player pointing a Flashlight into the distance

Flashlight By CreepermeYT

A native datapack and resource-pack (packaged as a mod by modrinth) that will add a Flashlight to your world!

The datapack/mod works server-side: Install it once, works for everyone on the server!

Due to Minecraft Datapack Limitations in 1.20.1,
some features are not the same in 1.21.4 and 1.20.1

These will be marked [1.21.4 only] & [1.20.1 only]

Features

  • Flashlight crafting recipe:
    • made of 4 iron, 1 redstone block, 1 spyglass,

      4 iron, 1 redstone block, 1 spyglass -> turns into -> flashlight

the Crafting Recipe will give a knowledge book instead: [1.20.1 only] same but it gives a knowledge book instead of flashlight

  • Flashlight item (When held in the mainhand):
    • Turns 'on' or 'off' by right clicking
    • Summons particles to show the light path while 'on'
    • Works as a spyglass accessory: you can use it to zoom as well
    • Adapts its focus/width depending on how far you aim it at
    • Decreases its durability while 'on' and breaks in 5 minutes [1.21.4 only]
    • Decreases its durability at a random moment depending on its focus distance: [1.20.1 only]

[1.20.1 only]

Focus Distance 75% of flashlights will last 50% of flashlights will last 25% of flashlights will last
<50 blocks 3.1 mins 7.5 mins 15 mins
>50 blocks 2.1 mins 5 mins 10 mins
  • Flashlight custom model (not included in datapack UNLESS resource pack is installed)

    • Changes texture depending on state: 'on' or 'off'

      Small Icon showing the Flashlight 'on' model Small Icon showing the Flashlight 'off' model

  • Embedded: the dynamic lights datapack: Dynamic Lights By CreepermeYT, which adds dynamic lights. The Flashlight requires it to work. [1.21.4 only]

Installation

Two options:

  • Install as mod:
    • The mod (.jar) should be installed on the /mods/ folder to work.
    • You're good to go :]
  • Install as datapack + resource pack:
    • The resource pack (.zip) should be installed on the /resourcepacks/ folder to work.
    • The datapack (.zip) should be installed on the /saves//datapacks/ folder to work.
    • resource pack (.zip) and datapack (.zip) are the same .zip file available for download in versions

Limitations

  • Performance: placing and removing over 100 light blocks when you move the flashlight is inevitably demanding on the server.
  • Distance limit: the flashlight has a maximum distance of 100 blocks.

Центр версий

4 версий
  • Релиз580 КБ
  • Релиз282 КБ
  • Релиз581 КБ
  • Релиз283 КБ

Ченджлог

v1.1-mc1.20.1+modРелиз1.20.1 · 8 июля 2025 г.

Additions:

  • Added 1.20.1 ONLY support
  • Better durability display in Flashlight's Lore
  • Action bar title to show flashlight charge
  • A Completely new Dynamic Light engine made for 1.20.1

Changes:

  • Load message now matces the same format as my other datapacks
  • Improved ray tracing
  • Flashligh's beam starting position
  • The crafting recipe will give a knowledge book because of mc 1.20.1 limitations.
  • Durability on mc 1.20.1 will be random-based. More details in the description.

Removals:

  • 1.21+ support bruh
  • Dynamic Lights By CreepermeYT datapack/dependency
v1.1-mc1.20.1Релиз1.20.1 · 8 июля 2025 г.

Additions:

  • Added 1.20.1 ONLY support
  • Better durability display in Flashlight's Lore
  • Action bar title to show flashlight charge
  • A Completely new Dynamic Light engine made for 1.20.1

Changes:

  • Load message now matces the same format as my other datapacks
  • Improved ray tracing
  • Flashligh's beam starting position
  • The crafting recipe will give a knowledge book because of mc 1.20.1 limitations.
  • Durability on mc 1.20.1 will be random-based. More details in the description.

Removals:

  • 1.21+ support bruh
  • Dynamic Lights By CreepermeYT datapack/dependency
v1.0-mc1.21.4-modРелиз1.21.4 · 8 января 2025 г.

Additions:

  • Custom model for Flashlight item
  • Toggle the flashlight 'On' or 'Off' by right clicking

Removals:

  • 1.21.1-3 compatibility due to mc format changes

Bugs fixed:

  • Datapack would not even load/work in previous beta version because I forgot 1 command... .-.
v1.0-mc1.21.4-dat+res-packРелиз1.21.4 · 8 января 2025 г.

Additions:

  • Custom model for Flashlight item
  • Toggle the flashlight 'On' or 'Off' by right clicking

Removals:

  • 1.21.1-3 compatibility due to mc format changes

Bugs fixed:

  • Datapack would not even load/work in previous beta version because I forgot 1 command... .-.

Комментарии

Загружаем…