Posted March 8, 201312 yr One of my friends saw me making mods and asked me to make him a mod which adds a mining helmet to light up the area around him when he's mining. I'm not that experienced with this kind of stuff, i'm assuming it's some stuff in the tick handler, but my early guesses using the "player.worldobj.setLightValue(" method have proved unsuccessful so i was wandering if you lovely people would be able to help. P.S. i had a look in the dynamic lights src but to me it currently seems like gobbledygook and i cant identify the necessaries parts. github
March 8, 201312 yr problem with minecraft light system is, only blocks can emit light. greg's tech has similar think to what you want. it's solved by spawning and removing invisible blocks which emit light, but it can't be done too often or it starts to lag (computing of lighting is quite demanding). mnn.getNativeLang() != English If I helped you please click on the "thank you" button.
March 8, 201312 yr There is some hacking involved with it, and i am already working on a mining helmet to add to the flashlight mod.
March 8, 201312 yr Author cool any chance you could share? I saw it earlier when looking round for examples of how to do this, seems like a pretty cool mod. github
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.