Jump to content

Recommended Posts

Posted

Hello everyone,

I want to modify or create a new light source in the game, but i cant figure out where is minecraft lighting system written. I mean where can i find the .class for it?

I figured out light is not a block in this game its something else.

Thank you for helping!

Posted

I know how to add light value to a block.

I want to modify the existing light in the game(shape, colour, ect...).

The info is good GreyGhost, but its not what i need.

I want to know where should i look around in the minecraft source.

If its created with OpenGL where is the OpenGl class that creates the actual light?

Thanks!

Posted

I know how to add light value to a block.

I want to modify the existing light in the game(shape, colour, ect...).

The info is good GreyGhost, but its not what i need.

I want to know where should i look around in the minecraft source.

If its created with OpenGL where is the OpenGl class that creates the actual light?

Thanks!

Do you mean you want to create a light source which illuminates the surrounding blocks with (say) red light instead of the yellow light from a torch?

 

Or do you mean you want a torch which looks red, but still lights up the surrounding blocks with yellow light?

 

-TGG

 

 

Posted

Hi

 

Changing the lighting model in Minecraft will be very difficult, because it does not work like you think it does.  See the link(s) I posted earlier.

You can change the colour of the block light in the light map to make it more orange, that will affect every torch and glowstone in the game.  And even that is rather difficult.

 

I would suggest to forget about it and try something easier :)

 

-TGG

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.