LambDynamicLights

LambDynamicLights

19M Downloads

Light radius for player

Jawzper opened this issue ยท 2 comments

commented

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)

commented

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.

commented

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.