I've messed around a bit with java, and so far I'm pretty good at modding. I don't know how to make a mana bar, however. Any good tutorials on this for 1.8 (unless it's the same for 1.7)?
These are the sprites I'm using:
I'd like to use the sprites on the right as the actual bars, and the sprites on the left as what is being used inside the bars (as mana). This next part may be a little complicated, but I'd like to have only a single bar, but have it level up over time. So it would start out with the blue bar, kill mobs (As an example), level it up to the white bar, kill some mobs, then level up to the black bar, and so on. Similar to an experience bar, but slightly more complicated.
I made a mana bar based on the coolAlias tutorial using 1.7.10 version. I don’t know if 1.7.10 and 1.8 are the same but I think I saw some codes for 1.8 as well. And your idea about changing the bar when level up is really good. I am now stucked because I want to cancel the usage of the bow when mana is below a certain quantity.
I've messed around a bit with java, and so far I'm pretty good at modding. I don't know how to make a mana bar, however. Any good tutorials on this for 1.8 (unless it's the same for 1.7)?
These are the sprites I'm using:
I'd like to use the sprites on the right as the actual bars, and the sprites on the left as what is being used inside the bars (as mana). This next part may be a little complicated, but I'd like to have only a single bar, but have it level up over time. So it would start out with the blue bar, kill mobs (As an example), level it up to the white bar, kill some mobs, then level up to the black bar, and so on. Similar to an experience bar, but slightly more complicated.
All help is appreciated. Thank you!
I made a mana bar based on the coolAlias tutorial using 1.7.10 version. I don’t know if 1.7.10 and 1.8 are the same but I think I saw some codes for 1.8 as well. And your idea about changing the bar when level up is really good. I am now stucked because I want to cancel the usage of the bow when mana is below a certain quantity.