Hi! This is my first Mod that isn't actually made after a tutorial. I did it because of an request from @hiotewdew from the minecraft forum!
Minecraft Version: 1.12.2
Basically, it just changes its texture and light emittance when you right click it. This makes it a variable light source that fits your needs - definitely.
Here is my mod request offer thread on the minecraft forum: https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/requests-ideas-for-mods/2938222-i-will-make-you-a-free-custom-mod-block-reloaded
Here is the link to my GitHub Repository: https://github.com/MayusYT/LightBlock
Submit your issues here: https://github.com/MayusYT/LightBlock/issues
Thank you for downloading my mod!
PS: Thank you @gigaherz and @Lumber Wizard from the MMD Discord Server for their help!