You're friend was right... It was a ton of edits.
But, it's also possible... as seen here.
Thank you for the kind words. It's taken a lot to get this far, and I hope to release something soon. Well see.
I really need to start contributing, I've done absolutely squat except show you how to work the GitHub. Ping me on Skype and tell me when you want me to start ASM'ing.
...and diabolical ideas, for how to use these new blocks, with the "/setblock ~ ~ ~ <id>" commands in 1.7.x, to make a few interesting things (first idea was a "panic light" alert, that changes all the lights from standard lighting, to blood red lighting, when mobs invade an area, by pairing it with the "check for" commands on a looped Command Block circuit, and then restores the lighting to normal, when the "threat" is removed).
Remember, this is going to be an API. So when I'm done, anyone can add these things into Minecraft... I'll probably make couple of the ideas you listed myself, but I hope others take it and use it throughout their mods!
That being said, I plan on attempting to create the colored glass tinting effect. But that will take quite a long time as we'll, and It's very dependent on where the colored light ends up. It's one of my long term goals!
Will I add more blocks to easycoloredglass? I'm not sure. I'll consider a larger content mod, but I liked the idea of breaking the mod into smaller modules.... Maybe it'd be fun to make a larger one!
Good to hear
Nice progress on this by the way, and I really like those pictures that you shown to us.
Congrats on coming up with this ingenious way of hacking minecraft into the future! At least now BlockStory won't be the only one with colored lighting.
Rollback Post to RevisionRollBack
- The Cubic Chunks Mod is back! Be a part of it's rebirth and Development.
-- Robinton's Mods: [ Mirror ] for some of his Mods incl Cubic Chunks Mod, due to DropBox broken links.
I think in my current scenario, a black light will simply look just like a normal piece of light. Think glowstone.
It's light value will be overridden by any nearby light source, and a colored light will be able to spread into the light.
White light on the other hand, will over power other light sources. If I place a white light next to a blue light, the white light will tint the blue to a lighter blue color.
I should test this. Check back soon, and I'll try to upload some pics of what I'm saying.
oh ok so white works as i thought, but black on the other hand: / black is the absence of color. so light with no color? no it would lower light levels, think sunglass's if you had a black lens on a flash light it would lower the flashlights light level. btw i totally want to use this in my mod:) i want to apply purple blue lights illuminating out of enchanted objects^_^
You have a neat idea, but It's not going to be functional/efficient when the render and light methods are called.
Either, you can get White Light that over powers and takes the place of colors, or you can get this weird Black Light "dimming" behavior.
Currently, the mod is set up for the first option, making the second Option near impossible...
In some cases, I can do this:
But I personally don't like it as much, and will probably have to discontinue the buggy black behavior.
I will definitely keep it in mind however.
I've always thought having black lamps at all was kind of weird anyway, although I admit I have entertained the thought of using them to create apparently sourceless lighting. But dimming other lights by putting a black light source near them just seems odd. What happens then, if you put a black lamp on its own?
I could see a "dark lamp" as a separate item with its own distinct behavior, an object that absorbs light in its vicinity instead of radiating it. But I don't think a black regular lamp should do that. It's inconsistent with all of the other lamps. And if black lamps absorb light, while white ones radiate it, then what should grey ones do? Nothing at all?
If treated differently than white lamps at all, I think "black" and grey lamps should emit neutral colored light just like a white lamp does, just ... less of it. Though logically the black lamp should then emit none and have no illumination power at all. But then why even have a black lamp at all? You might as well use a block of basalt.
I suspect the best way to treat grey and black lamps is to just treat them the same as white lamps — neutral colored light sources of the same intensity as any other, just with different cosmetic appearance, allowing creating the sourceless-lighting look. Any light-absorbing block should be its own distinct special item, with a separate recipe and distinct behavior. And a cool particle or smoke effect. Perhaps a glossy black block with tendrils and wisps of dense darkness wafting off of it....
I've always thought having black lamps at all was kind of weird anyway, although I admit I have entertained the thought of using them to create apparently sourceless lighting. But dimming other lights by putting a black light source near them just seems odd. What happens then, if you put a black lamp on its own?
I could see a "dark lamp" as a separate item with its own distinct behavior, an object that absorbs light in its vicinity instead of radiating it. But I don't think a black regular lamp should do that. It's inconsistent with all of the other lamps. And if black lamps absorb light, while white ones radiate it, then what should grey ones do? Nothing at all?
If treated differently than white lamps at all, I think "black" and grey lamps should emit neutral colored light just like a white lamp does, just ... less of it. Though logically the black lamp should then emit none and have no illumination power at all. But then why even have a black lamp at all? You might as well use a block of basalt.
I suspect the best way to treat grey and black lamps is to just treat them the same as white lamps — neutral colored light sources of the same intensity as any other, just with different cosmetic appearance, allowing creating the sourceless-lighting look. Any light-absorbing block should be its own distinct special item, with a separate recipe and distinct behavior. And a cool particle or smoke effect. Perhaps a glossy black block with tendrils and wisps of dense darkness wafting off of it....
Do not forget that it is in alpha and will be API, so black lamp is there for testing purposes only (as long as any other lamps) and final version will probably have none of them. But such extremes are needed to find out the limits (technical or rational) and probably should not be excluded. Black light btw much like real one while not illuminating an area should in theory prevent monsters from spawn.
1 not my friend just some troll on the broard
2 he still was not right because he was saying that Mojang would have to rewrite the game engine from scratch.
Since you are not Mojang and you only had to make edits to parts of the code instead of the entire engine then I do not see how he was right.
1 not my friend just some troll on the broard
2 he still was not right because he was saying that Mojang would have to rewrite the game engine from scratch.
Since you are not Mojang and you only had to make edits to parts of the code instead of the entire engine then I do not see how he was right.
Yeah, there was no need to rewrite all of Minecraft... but I had to severely edit most or all of the lighting/rendering stuff that messed with light.
I mean... we're talking thousands of lines of code that needed to be sifted through, and modified carefully
The total additions total near 100~ish lines so far.
It's somewhere in the middle of a complete rewrite, and an edit.
It's not just like I toggled the variable
//Changed By CptSpaceToaster
boolean color = true;
This took a ton of rehashing and thinking. I did my very best to fit it into the already existing lighting system. Just like Nocte's phenomenal 3D chunk system rehashes and replaces the old chunk system, so does my lighting system.
I did have to make edits to the entire engine. To be specific, it was the lighting engine that I edited...
But I think we actually understand each other. The language here is just being debated... Sorry for the confusion. I get it.
Speaking of Blacklight; It would be pretty cool if in-game blacklights actually worked the same as real-life "Black-lights"! I would love to have glowing black-light posters in minecraft. - Or secret paths that only light up under black-light.
I mean... we're talking thousands of lines of code that needed to be sifted through, and modified carefully
The total additions total near 100~ish lines so far.
All i can say is that I hope you have the patience for this
Your mod has additive color, but does it have subtractive color. I mean, does a green block appear black with red light,if we superpose a magenta and a green glass, no light should pass,if we superpose a magenta and a cyan glass,light would be blue...
In a short word, No. The green block will appear to be tinted red/magenta in your scenario, making it appear yellow/white.
Is it possible? Yes
I don't see a way to making subtractive light run efficiently though. This sounds more like an issue for the colored glass mod however. Let me finish the base API before we start debating the semantics of how light should physically spread around.
Kovu's been working on a release, however the process of overriding Vanilla Minecraft methods, while leaving your default Minecraft installations intact has been quite the problem...
Currently, we have a very low level process that appears to be able to get the job done. We'll release something as soon as we can!
Edit. I'm not sure if the release will require forge... in a perfect world, it won't, but this initial release might require it.
Edit Edit. Someone's been +1'ing me almost instantly... it's a little creepy :3
Kovu's been working on a release, however the process of overriding Vanilla Minecraft methods, while leaving your default Minecraft installations intact has been quite the problem...
Currently, we have a very low level process that appears to be able to get the job done. We'll release something as soon as we can!
Edit. I'm not sure if the release will require forge... in a perfect world, it won't, but this initial release might require it.
Edit Edit. Someone's been +1'ing me almost instantly... it's a little creepy :3
Edit Edit Edit. Expect there to be lots of bugs.
ASM coming slowly but surely. The ASM I have right now sucks, I'm going to have to redo it..
the idea sounds cool though, does it have a similar approach then atomistriker´s dynamic light mod ?
Atomistriker was able to create a light source at the players location, that represented the item being held.
I am working on colored light.
The two aren't quite the same, but we both had to edit the Minecraft source. In particular, we both similarly modified the light update routine... but that's inevitable.
To answer, no, our mods are not the "same approach" because we are going to different functionality. BUT, our mods ARE in the same family/topic, and therefore share some similar concerns/modifications.
There are two different approaches here, that happen to share some (only some) of the same behavior.
I really need to start contributing, I've done absolutely squat except show you how to work the GitHub. Ping me on Skype and tell me when you want me to start ASM'ing.
Nice idea
Good to hear
Nice progress on this by the way, and I really like those pictures that you shown to us.
- The Cubic Chunks Mod is back! Be a part of it's rebirth and Development.
-- Robinton's Mods: [ Mirror ] for some of his Mods incl Cubic Chunks Mod, due to DropBox broken links.
- Dungeon Generator for the Open Cubic Chunks Mod
- QuickSAVE-QuickLOAD for the Open Cubic Chunks Mod
I've always thought having black lamps at all was kind of weird anyway, although I admit I have entertained the thought of using them to create apparently sourceless lighting. But dimming other lights by putting a black light source near them just seems odd. What happens then, if you put a black lamp on its own?
I could see a "dark lamp" as a separate item with its own distinct behavior, an object that absorbs light in its vicinity instead of radiating it. But I don't think a black regular lamp should do that. It's inconsistent with all of the other lamps. And if black lamps absorb light, while white ones radiate it, then what should grey ones do? Nothing at all?
If treated differently than white lamps at all, I think "black" and grey lamps should emit neutral colored light just like a white lamp does, just ... less of it. Though logically the black lamp should then emit none and have no illumination power at all. But then why even have a black lamp at all? You might as well use a block of basalt.
I suspect the best way to treat grey and black lamps is to just treat them the same as white lamps — neutral colored light sources of the same intensity as any other, just with different cosmetic appearance, allowing creating the sourceless-lighting look. Any light-absorbing block should be its own distinct special item, with a separate recipe and distinct behavior. And a cool particle or smoke effect. Perhaps a glossy black block with tendrils and wisps of dense darkness wafting off of it....
Do not forget that it is in alpha and will be API, so black lamp is there for testing purposes only (as long as any other lamps) and final version will probably have none of them. But such extremes are needed to find out the limits (technical or rational) and probably should not be excluded. Black light btw much like real one while not illuminating an area should in theory prevent monsters from spawn.
1 not my friend just some troll on the broard
2 he still was not right because he was saying that Mojang would have to rewrite the game engine from scratch.
Since you are not Mojang and you only had to make edits to parts of the code instead of the entire engine then I do not see how he was right.
Yeah, there was no need to rewrite all of Minecraft... but I had to severely edit most or all of the lighting/rendering stuff that messed with light.
I mean... we're talking thousands of lines of code that needed to be sifted through, and modified carefully
The total additions total near 100~ish lines so far.
It's somewhere in the middle of a complete rewrite, and an edit.
It's not just like I toggled the variable
This took a ton of rehashing and thinking. I did my very best to fit it into the already existing lighting system. Just like Nocte's phenomenal 3D chunk system rehashes and replaces the old chunk system, so does my lighting system.
I did have to make edits to the entire engine. To be specific, it was the lighting engine that I edited...
But I think we actually understand each other. The language here is just being debated... Sorry for the confusion. I get it.
If only it was that simple
And don't worry, some of us understand the language
- The Cubic Chunks Mod is back! Be a part of it's rebirth and Development.
-- Robinton's Mods: [ Mirror ] for some of his Mods incl Cubic Chunks Mod, due to DropBox broken links.
- Dungeon Generator for the Open Cubic Chunks Mod
- QuickSAVE-QuickLOAD for the Open Cubic Chunks Mod
All i can say is that I hope you have the patience for this
In a short word, No. The green block will appear to be tinted red/magenta in your scenario, making it appear yellow/white.
Is it possible? Yes
I don't see a way to making subtractive light run efficiently though. This sounds more like an issue for the colored glass mod however. Let me finish the base API before we start debating the semantics of how light should physically spread around.
Currently, we have a very low level process that appears to be able to get the job done. We'll release something as soon as we can!
Edit. I'm not sure if the release will require forge... in a perfect world, it won't, but this initial release might require it.
Edit Edit. Someone's been +1'ing me almost instantly... it's a little creepy :3
Edit Edit Edit. Expect there to be lots of bugs.
ASM coming slowly but surely. The ASM I have right now sucks, I'm going to have to redo it..
Yay for public testing! Expect a lot of spam
Woohoo for public testing too
Atomistriker was able to create a light source at the players location, that represented the item being held.
I am working on colored light.
The two aren't quite the same, but we both had to edit the Minecraft source. In particular, we both similarly modified the light update routine... but that's inevitable.
To answer, no, our mods are not the "same approach" because we are going to different functionality. BUT, our mods ARE in the same family/topic, and therefore share some similar concerns/modifications.
There are two different approaches here, that happen to share some (only some) of the same behavior.