when i'm playing nothing shows up on my HUD how can i fix this?
gbl commented
Are you in creative/spectator mode? Durability viewer won't show anything in this case.
Or maybe you've switched display off? Press the H key; make sure it wasn't bound to anything else in options/controls.