When you have an enchanted item in your hotbar, your health bar, hunger bar and crosshair all change colour. This also occurs with enchanted books, written books, nether stars, potions, Notch's apple, and experience bottles. When you have a spawn egg in your hotbar, your health and hunger bars change colour depending on the colour of the spots on the spawn egg, and your crosshair disappears completely. These both affect all gamemodes besides spectator mode, although in creative mode it only affects the crosshair. If you have an enchanted item and a spawn egg in your hotbar, the item closest to slot 9 will take precedence over the other, and the effect associated with that item will occur.
Linked issues
duplicates 1
Attachments
Comments 4
Surprisingly unable to reproduce O.o
Can you test this on an completely empty world (flat + redstone preset on easy mode) ?
Maybe the issue is not coming from the items but from a mob we cannot see orso.
Duplicate of MC-46404
I created a new world in 14w05b with the settings as you said, and this still worked. The crosshair was, however, a different colour when using enchanted items, but this was just because of the sandstone behind it, as opposed to the leaves in my screenshots above. The health and hunger bars still change colour with spawn eggs, and the crosshair still disappears. I think it might be caused by my version of Java, as my current version is not the most up to date. My current version is update 45, which I have corrected in the "Environment" field (I had accidentally put update 25). I will try updating it and attempting this again. Here are screenshots from the new world, if they are of any help: http://imgur.com/a/D7vSY
Unable to reproduce.