Edit:illumination & wielded_light are probably better optimized. wlight is forked & updated from the old walking_light mod. I was planning on optimizing it, but after looking at wielded_light's code, I may just switch to that if it gains 3d_armor support.
Edit:wielded_light looks like it may be the most optimized as it does not use an ABM.
its nice but,it already exists: https://content.minetest.net/packages/Piezo_/illumination/
Thanks, I'll add that to alternatives. Does
illumination
support3d_armor
?hmm,i will test
EDIT: what should be lighting at 3d armor?
When you equip an armor item that is registered to emit-light in the armor inventory: https://github.com/minetest-mods/wielded_light/pull/12
Edit:
illumination
&wielded_light
are probably better optimized.wlight
is forked & updated from the oldwalking_light
mod. I was planning on optimizing it, but after looking atwielded_light
's code, I may just switch to that if it gains3d_armor
support.Edit:
wielded_light
looks like it may be the most optimized as it does not use an ABM.I made a comparison of current features of the three mods (may change with future releases):
Key:
light_source
attribute will emit light when wieldedwlight
illumination
✓
✓
✓
Note: tables aren't displaying currectly