Skip to content

NewWind-Modpacks/actions-of-stamina

 
 

Repository files navigation

 

At first glance limitations seem to be disadvantageous.
But on closer inspection they just force us to adapt, breaking new ground and using more of our creativity in order to reach our goals.

 

🌱Credits

I have to thank muraokun for this wonderful idea - moreover their suggestions really shaped the concept of this mod.
Furthermore I really appreciate that ElenaiDev allowed me to use the feather icon for the mod logo.

 

💡About

Actions of Stamina (AoS) is a vanilla friendly survival mod that uses the stamina system of the Feathers mod for player actions.

It adds logic that prevents a player from performing an action when there is no more stamina or not enough of it.

Every supported action consumes feathers and thereforge lowers the available stamina

AoS enables you to define the exact amount of time and times after which feathers will be used.

Currently there's only a few of actions that supports stamina but I will add more in the future.

 

📜 Actions that requires and uses stamina (customizable & deactivatable)

  • Running: If a player doesn't have enough stamina, they can only walk and need to wait a bit for the feathers regneration.
  • Jumping: AoS prevent a player from jumping when not having enough stamina - also supports auto-jump.
  • Crawling: When a player finds them in the crawling position, they can only move if they has enough stamina.

AoS also supports and will support actions of other mods - look at the "Compatibilities" section

 

📖 Getting Started

You can enable or disable whether an action should use feathers (stamina) You can even tweak the amount of feathers an action requires beforehand and uses for and after or while being executed.

For configuration I recommend Configured. There are 3 predefined profiles (difficulty levels) that you can choose from:

  • SLUGGISH: Enables a few actions that requires stamina. Moreover, these do not consume so much stamina.
  • EXHAUSTED (default profile): Adds moderate consumption of stamina when doing something.
  • BREATHLESS: All actions requires a bit of stamina and uses a lot of them. Watch out this can be challenging in some situations.

You can either edit these profiles or you can create your own one by editing the custom profile.

 

👮Measures against cheating

By default sprinting lowers the feathers bar by 1 visible feather after 5 seconds. If you only run 4 seconds to prevent using stamina and start running again, the

feathers bar will be reduced by one after one further second of running. This is achieved by caching the time for which a player performs an action.

Furthermore you can configure the initial costs of an action in order to make it more challenging when players start, interrupting and resume actions over and over again.

 

🔌Compatibilities

AoS adds compatbility features while using other mods - all supported mods are optional dependencies so you can choose which one you want to use:

🥷GoProne / Personality - Feathers will also be used if the player is crawling using these mods.

 

More to come - stay tuned🔔

  

Important Notes

  • I recommend to reduce or disable the impact of armor in the feathers-common.toml (armor weight). Otherwise players will not be able to run when wearing diamond or netherite amor.
  • Time-based actions (like sprinting) are stopping the regeneration of feathers to be able to set higher values for the time of feathers decrease than the regeneration speed of it.
  • It's necessary to download the Feathers mod when you want to use AoS, because it's a required dependency.

 

🔨ModLoader

AoS is currently only available for Forge - sorry. Maybe this will change in the future.

 

📝FAQ

Q: Can I use AoS in my modpack?

A: Yes -  Feel free to include AoS into your modpack - Remember to give credit and don't claim AoS as your own creation.

 

Q: Which Minecraft versions are supported?

A: AoS is currently available for 1.19.2.

 

Q: Are there any known incompatibilities with other mods?

A: No and this shouldn't be the case. If so please report them on GitHub.

 

Q: Can you add this feature  ...?

A: Sure - if it matches the concept of AoS. Feel free to post a comment.

 

🌎 Links

Report issues and request features

 

🏃Do not run too fast and too long

Releases

No releases published

Packages

 
 
 

Languages

  • Java 100.0%