LambdAurora / LambDynamicLights

A dynamic lights mod for Minecraft on Fabric Loader.
https://modrinth.com/mod/lambdynamiclights
Other
392 stars 98 forks source link

Light radius for player #193

Closed Jawzper closed 9 months ago

Jawzper commented 9 months ago

Would it be possible to provide an option that lets the player act as a weak light source? Or otherwise maybe make enchanted gold gear glow slightly?

Would this achievable with a data pack solution?

Context: working on a mod pack including Cave Dweller and True Darkness, and want players to be able to defend themselves with a shield while they shit themselves in fear (instead of holding a torch all the time)

Jawzper commented 9 months ago

Update: Had a look at the API information and ended up making an attempt. I don't know if I'm not supposed to do this, but I don't know how to make a mod from scratch so I tried making a golden_helmet.json at lambdynamiclights.jar\assets\lambdynlights\dynamiclights\item\:

{
  "item": "minecraft:golden_helmet",
  "luminance": "minecraft:redstone_torch",
  "water_sensitive": false
}

Unfortunately this does not seem to be working.

Jawzper commented 9 months ago

Update: I have since discovered that it was in fact working, it was just a subtle effect that I didn't notice immediately. So that's good enough for me for now I guess.