← Назад к ресурсам

Powered Flashlight

A powered flashlight item for Minecraft

Modrinth equipment technology utility

Описание

# Powered Flashlight ![POV with flashlight in hand](https://cdn.modrinth.com/data/cidr24jQ/images/5600e506156e576694654b18f2b80e05b5316721.png) [![bisecthosting](https://www.bisecthosting.com/partners/custom-banners/5ea61298-7966-4331-945f-da7b80663a38.webp)](https://bisecthosting.com/hd42) A handheld flashlight item for Minecraft. Supports lighting APIs like **Lucent** 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](https://www.curseforge.com/minecraft/mc-mods/dynamiclights-reforged): Very smooth, good performance, some minor visual tradoffs (my personal preference) - [Lucent](https://modrinth.com/mod/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. **Important:** I've noticed a few visual lighting artifacts using **Embeddium/Rubidium Dynamic Lights** version **1.6.0** in Minecraft **1.20.1** when moving the light from the flashlight quickly over surfaces. I did not have this issue with **Embeddium/Rubidium Dynamic Lights** 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](https://cdn.modrinth.com/data/cidr24jQ/images/12ea8d4cd8e194372ad2ad0d93b1110846c84e6c.png) ## 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.