I think there should be an object called a headlight. It would take up your head slot, and give you no armor. However, while it’s night it turns on and emits light in a 7 block radius. It would be crafted at a metalwork bench with 5 gold bars and 3 string. It might even cost a Battery
This is one of the better mining headlight suggestions.