[Mod] Universal hand light [illumination]

User avatar
Piezo_
Member
 
Posts: 219
Joined: Fri Jul 20, 2018 21:36
Location: (x,y,z)
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

[Mod] Universal hand light [illumination]

by Piezo_ » Tue Sep 04, 2018 03:40

Ladies and gentlemen.
For years, we have suffered in the dark, when the tools of light lay in our very hands.
Today, I offer salvation.
Today...
I offer...
Illumination!
Image
Ladies and gentlemen, I present to you a mod that shatters the veil of darkness that has been draped over our eyes, and illuminates the path ahead!

A mod that allows us to light our way with any item with a corresponding node that emits light, by producing an amount of light fairly close to what that node would emit naturally, so that you can find your way home by its light!

If you desire, download the mod, and may you never find yourself without light!

License

Note: This mod is designed to be straightforward and reliable more than anything else, and does not focus on light around dropped items. If you are looking for a mod that provides light around dropped items, but doesn't try as hard to find a suitable light position, see wielded_light
Last edited by Piezo_ on Wed Sep 05, 2018 02:24, edited 3 times in total.
while (true) { suffer(); }
 

bell07
Member
 
Posts: 574
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Mod] Universal hand light [illumination]

by bell07 » Tue Sep 04, 2018 10:46

Please compare also to my wielded_light mod.

Hm, I see my nod needs your canLight detection oO.
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [Mod] Universal hand light [illumination]

by Pyrollo » Tue Sep 04, 2018 12:24

weilded_light is much better as it offers a simple API making it possible to use illumination for any purpose.

(tested it a couple of days ago and had fun with it)
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [Mod] Universal hand light [illumination]

by Pyrollo » Tue Sep 04, 2018 13:06

(sorry, posted something off topic, posting it in the proper thread)
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

User avatar
Piezo_
Member
 
Posts: 219
Joined: Fri Jul 20, 2018 21:36
Location: (x,y,z)
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Universal hand light [illumination]

by Piezo_ » Tue Sep 04, 2018 19:02

Pyrollo wrote:weilded_light is much better as it offers a simple API making it possible to use illumination for any purpose.


Like setting overrides for ignoring items' light values, or emitting light for other reasons?
Last edited by Piezo_ on Tue Sep 04, 2018 19:13, edited 2 times in total.
while (true) { suffer(); }
 

User avatar
Piezo_
Member
 
Posts: 219
Joined: Fri Jul 20, 2018 21:36
Location: (x,y,z)
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Universal hand light [illumination]

by Piezo_ » Tue Sep 04, 2018 19:11

bell07 wrote:Please compare also to my wielded_light mod.

Hm, I see my nod needs your canLight detection oO.


I didn't really bother with the dropped item aspect, which I see you did manage to pull off pretty well.
while (true) { suffer(); }
 

User avatar
Pyrollo
Member
 
Posts: 324
Joined: Mon Jan 08, 2018 15:14
Location: Paris
GitHub: pyrollo
In-game: Naj

Re: [Mod] Universal hand light [illumination]

by Pyrollo » Wed Sep 05, 2018 07:37

Piezo_ wrote:
Pyrollo wrote:weilded_light is much better as it offers a simple API making it possible to use illumination for any purpose.


Like setting overrides for ignoring items' light values, or emitting light for other reasons?


Emitting light for other reasons.

I just used wielded light to create effects like lighten player and mobs using wielded_light.update_light and it worked perfectly (code to be published soon). This function is very convenient for creating any sort of light effects.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
 

User avatar
acidzebra
Member
 
Posts: 37
Joined: Sun Sep 10, 2017 09:11

Re: [Mod] Universal hand light [illumination]

by acidzebra » Thu Sep 06, 2018 16:03

Pyrollo wrote:weilded_light is much better as it offers a simple API making it possible to use illumination for any purpose.


that depends entirely what you're looking for; I don't particularly need an API, I just wanted to be able to walk around with a torch in my hand, so this was exactly what I was looking for :)

Cheers Piezo, nice mod!

(I also quite enjoy your enthusiastic way of "selling" the mods, ha ha)
 

User avatar
Piezo_
Member
 
Posts: 219
Joined: Fri Jul 20, 2018 21:36
Location: (x,y,z)
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [Mod] Universal hand light [illumination]

by Piezo_ » Fri Sep 07, 2018 03:01

acidzebra wrote:that depends entirely what you're looking for; I don't particularly need an API, I just wanted to be able to walk around with a torch in my hand, so this was exactly what I was looking for :)

Cheers Piezo, nice mod!

(I also quite enjoy your enthusiastic way of "selling" the mods, ha ha)


I'll say, though, wielded_light looks like it does what it aims to quite well, and if someone's looking for something that is more robust and configurable instead of a mod that "Works as expected at all costs" (the latter being illumination in a nutshell), then by all means!

Thanks for the cheers, I'm working on keeping more coming! (A complete overhaul of this mod is in its beta-run on my server right now!)
while (true) { suffer(); }
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 5 guests