I'm not sure this is possible (just looking at coding makes my eyes cross), but do you think it's probable to add an api-less way for light blocks to have color?
Such as when you place a light block, the mod samples the majority color of the block (i.e., glowstone is mostly a gold color) and implements it into the lighting somehow?
That way the hundreds of lighting mods out there would have colored light without every single one needing to plug in an api!
Again, though, I have no idea if someone could even code something like that... I'm just tossing around the idea as something to consider, just in case.
Either way, I'm so glad you've decided to pick up the torch for this. Colored lights in Minecraft are so nice, but the current build people rely on can be too buggy to bother with at times.
I was thinking something of the same lines. It might prove to be too stenusous on computers, but I'll see once I get past chunk updates, conical lighting, and light processing once it goes through colored glass. (WUT!?!?!)
Quote from straightdigger»
Yeah, similar idea was brought up in the previous thread, it could be nice for sure, or though it'd need to be a bit more clever then that, like sampling only the brightest part of pixels.
Other ideas was to have a config file in which you could allocate colors to blocks by their id's, and now I can think of ui solution - if you place a block that have no color data but a light level, colored lights could bring up a window with rgb sliders for you to set it ingame. Another idea is to save that config file inside resource packs somewhere in case you have green lava or something like that. But it will require colored lights to be working on client side only as people will have different resource packs all the time. Which I see no problems with - dynamic light works just like that - that data is simply not sent to the server.
Thought for now it's just something to consider to leave a possibility for future implementation, there isn't even a single working build out in the public yet.
I have a single working build, but it's not public yet, and I may not release this version.
Well, one could say Cpt. SpaceToaster's build is working in the sense that in most cases, it's playable. o: But all of those sound like great options... if I knew how to code, that's something I'd want to work on and donate to Kovu's progress, but alas, my eyes unfocus with just simple css, lol.
At the very least, this is definitely something to watch, and I'm excited for the future of this mod. :>
If you would like to help me build a site, please don't hesitate to contact me! Although I can code, I don't quite have an eye for design.