1

I'm trying to develop a program to mine blocks based on color recognition, but when the color has been set during the day and it's night or vice versa the color changes just enough to not recognize it. Is there a way to keep the colors similar without changing the daylight cycle setting? (I have my brightness all the way up)

5
  • 5
    Out of the box solution: Have your program detect night, plunk down a bed, and sleep until day. Oct 4 '14 at 15:20
  • There was mods for older versions of Minecraft that allowed you to turn on "night vision", wherein all blocks was visible with maximum brightness, as though everything had their own personal super-bright light source. I think Optifine did this, but there was others as well. Oct 4 '14 at 17:02
  • You could record the block colour values for all light levels. That should solve the problem.
    – MBraedley
    Oct 4 '14 at 18:42
  • @LasseV.Karlsen and now there are night vision potions Oct 5 '14 at 17:31
  • Thank you everyone. I think I will just set a second color for night time like @MBraedley said. I can't believe I didn't think of that. Sometimes it's the simplest ideas.
    – iSpotix
    Oct 5 '14 at 20:26
-1

Use a redstone clock, spamming this command:

/effect minecraft:night_vision 10 1 true

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.