Advertisement
Guest User

Untitled

a guest
Apr 24th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. //Checking stuff for mana and health and stamina
  2. float magicka = (float) (20 * 4.1);
  3. float health = (float) (mc.thePlayer.getHealth() * 4.1);
  4. float stamina = (float) (mc.thePlayer.getFoodStats().getFoodLevel() * 4.1);
  5. //End checking stuff
  6.  
  7. //INNER BARS
  8. drawTexturedModalRect(31, height - 38, 11, 64, (int)magicka, 6); //mana
  9. drawTexturedModalRect(width / 2 - 39, height - 38, 11, 72, (int)health, 6); //health
  10. drawTexturedModalRect(width - 109, height - 38, 11, 80, (int)stamina, 6); //stamina
  11. //END INNER BARS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement