Powered Flashlight

A powered flashlight item for Minecraft

19,00k

Quick challenge

How far can you run before the mobs catch you?

Powered Flashlight

Powered Flashlight

POV with flashlight in hand

A handheld flashlight item for Minecraft. Supports lighting APIs like Embeddium/Rubidium Dynamic Lights or Embeddium/Rubidium Dynamic Lights.

Description

A handheld flashlight for your adventures into the darkness. Requires energy to function. This mod does not provide any means of charging a flashlight but offers support for *Forge Energy* instead, hence a flashlight can be charged with any chargers from different mods with Forge Energy support. Provides configurations to adjust the properties and behaviour of a flashlight.

Tip: Setting `energyDrainPerTick` to `0` will disable the energy requirement completely.

Dynamic Lighting

The mod currently supports 3 different dynamic lighting systems:

- Embeddium/Rubidium Dynamic Lights: Very smooth, good performance, some minor visual tradoffs (my personal preference) - Lucent: Smooth enough, good performance, *vanilla-esque* - Vanilla: Relatively smooth, ok performance, vanilla lighting system using light blocks

> Simply install any of the above mentioned mods alongside this mod. If no additional (supported) lighting mod is installed on the client the vanilla-system is used.

1.5.0 I've noticed a few visual lighting artifacts using 1.5.0 version 1.5.0 in Minecraft 1.5.0 when moving the light from the flashlight quickly over surfaces. I did not have this issue with 1.5.0 version 1.5.0 though this might aswell be tied to my setup and/or system (e.g. graphics card). In case you run into similar issues I'd recommend to try a different version of the dynamic lighting mod.

Make sure entity lighting is enabled when using a dynamic lighting mod.

Server/Client Lighting

This mod supports different lighting APIs hence multiple clients connected to the same server might have different lighting mods installed. Following example illustrates how these situations are handled:

- Player A has no dynamic lighting mod installed - Player B has Lucent installed

Player A will see his lighting and the lighting casted by a flashlight from Player B with the fallback Vanilla Lighting System.

Player B will see his lighting and the lighting casted by a flashlight from Player A with the Lucent Lighting System.

Crafting

Crafting recipe

FAQ

Why are all config options server side?

Since the light distribution requires to spawn and manage *light entities* on the server it would for instance be a bad idea to allow clients to set the *light distance* to an arbitrary large value (hence requiring the server to spawn a large amount of light entities). Another *advantage* of the configs beeing server side is that the flashlights behave the same for everyone.

Can I use this mod in my modpack?

Yes, go ahead.

Will you add Fabric support?

Maybe at some point, but I cannot give you a date right now.

Will you add support for earlier minecraft versions (< 1.19)?

No.

ADS