Flashlight

Flashlight

Mod and data pack

Adds a new Utility Item! The Flashlight!

Server AdventureGame MechanicsUtility

1,809 downloads
17 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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!

Features

  • Flashlight crafting recipe:

    • made of 4 iron, 1 redstone block, 1 spyglass,

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

  • Flashlight item (When held in the mainhand):

    • Turns 'on' or 'off' by right clicking
    • Summons particles to show the light path while 'on'
    • Decreases its durability while 'on' and breaks in 5 minutes
    • Works as a spyglass accessory: you can use it to zoom as well
  • 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.

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/<your_world_name>/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.

Project members

CreepermeYT

Member

Details

Licensed MIT
Published 3 months ago
Updated 2 months ago