Notice: As has been brought to my attention, there is a bug where jumping will not consume stamina if you are running this mod alongside the Satchels mod. Until I get around to fix it, you can get around it by using this mod.
A mod adding stamina mechanics to minecraft, similar to how it works in other games! More specifically, it works like this:
Stamina is decreased when:
- Jumping
- Sprinting
- Hitting
- Using an item (e.g. pulling a bow, does not apply to food)
- Shooting a gun (If Modern Warfare 2 is installed)
Stamina is regenerated by:
- Doing nothing
- Eating food
The consequences:
- When stamina is at 0, you cannot sprint or use items (e.g. pull a bow, again, does not apply to eating food)
- When stamina is below 20, weakness and slowness are applied
- When stamina is below 30, the attack timer is slightly increased - you hit slower
Other features:
- With every level of experience you gain, maximum stamina is increased.
- An endurance potion is added - it increases your stamina.
- An endurance ring is added if Baubles are installed - it increases and occasionally regenerates your stamina.
- Light Feet enchantment is added - it decreases the stamina used by sprinting.
- There is a configuration option to completely disable the vanilla minecraft hunger mechanic, but this is off by default.
- The maximum stamina each player starts with, the amount a player gains with each levelup, the jump, sprint, use and shoot penalties, the stamina bar position, toggles for the enchantment/potion/ring as well as both the regeneration rates are completely configurable in .minecraft/config/rpgstamina.cfg
Planned Features
TODO:
- Integration with m&b battlegear/the offhand mod shields.
Make the amount of stamina regenerated through eating food configurable(added in 1.0c).Make the stamina bar position be configurable through the config file(added in 1.0d).Add Modern Warfare integration(added in 1.0d).- Suggest features in the comments or in discord!
F.A.Q
Q: When port to version x.x.x?
A: If you want to do it, go ahead, just credit me as the creator of the original.
Q: Modpacks?
A: Of course! No need to ask.
Q: There is a crash! / This mod doesn't work with X! / I found a bug!
A: You can always report it on the issue tracker and I'll try and take a look.
Discord: Click!