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. Commented Oct 4, 2014 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. Commented Oct 4, 2014 at 17:02
  • You could record the block colour values for all light levels. That should solve the problem.
    – MBraedley
    Commented Oct 4, 2014 at 18:42
  • @LasseV.Karlsen and now there are night vision potions Commented Oct 5, 2014 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
    Commented Oct 5, 2014 at 20:26

1 Answer 1

-1

Use a redstone clock, spamming this command:

/effect minecraft:night_vision 10 1 true

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .