Giter VIP home page Giter VIP logo

feathers's Introduction

Feathers

Feathers is a stamina mod that serves as an API for all my future projects

Installation

Simply drag and drop the mod downloaded from the files section here into your mods folder after installing Minecraft Forge. The mods folder is located at %appdata%/.minecraft/mods.

Developer Information

Adding support to Feathers is easy. To import it, simply add this line to your build.gradle file's repositories.

repositories {
     maven { url "https://www.cursemaven.com" }
}

And this to your project's dependencies.

dependencies {
	implementation fg.deobf("curse.maven:feathers-699933:FILE_VERSION") 
}

Where FILE_VERSION is the file ID of the version you want to use. You can find this by opening the URL of an Feathers file download and looking at the url. The numbers at the end are the file ID.

Then simply run your gradle setup commands as normal, e.g. gradlew genEclipseRuns then gradlew eclipse.

You now have access to Feathers API and code! The API is pretty self explanatory but if you need any help, feel free to private message me here!

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License

feathers's People

Contributors

ec22761 avatar elenaidev avatar

Stargazers

 avatar  avatar

Watchers

 avatar

feathers's Issues

Feathers in incorrect (or unideal) position

When using Nostalgia tweaks to remove the hunger bar, feathers render above where the hunger bar would be, causing them to be floating quite a bit above the XP and health bar. Is there a possible fix to this, or could it be added to the agenda?

Feathers bar shifts upwards when underwater

When trying to shift the stamina bar down to sit just above the hunger bar, I found that the stamina bar will overlap with the breath bar when underwater. Is there a way to fix this? I'm assuming this is coded in this way to actually help do the opposite, however i'd like to request a feature that allows players to toggle this shifting upwards behavior on or off.

Updating Feather Icons In The Hotbar

Hi, I'm Ghaith a Pixel Artist

I want to contribute to this project with a new clean drawn feather bar icons. I also want you to add an option in the config to modify their look.

If you want to discuss more, DM me on Discord: sirghaith

and Thank You

[Feature Request]: Config to change armor weight behavior

Currently, armor weight reduces your maximum feathers. This makes sense and is an interesting restriction, but if feathers become very important (for example, requiring them for running/jumping) it makes heavy armor excessively punishing. If there was a config option to instead make armor weight affect your feather regen speed, it would make heavy armor restrictive but manageable rather than completely punishing. Great mod by the way!

[1.20.1] Attributes Reset On Death

In attempting to do some work with the attributes system implemented by Feathers, I discovered that the values get reset on the death of the player.

I am running Feathers 1.1 on Forge 47.2.0.

If this is an issue with Forge or Minecraft, I apologize.

Log Spam with Unable to Calculate Weight of Non-Armor Item

Whenever a non-armor item is worn like the Engineer's Goggles from Create it spams the logs with

[Server thread/WARN] [feathers/]: Attempted to calculate weight of non armor item: item.create.goggles

There is no way to stop this behavior and even when a manual override of 0 or 1 is set for the item it still spams the logs.

Serene seasons compatibility

the frost mechanic doesn't seem to work with serene seasons. The frost mechanic works in the snowy biomes of course but it doesnt work in other biomes when its winter

serene feathers

version 1.19.2

I have a foolish idea

Excuse me, can you add a curse enchantment to increase the weight of the armors?Personally, I believe it can increase the randomness and entertainment of the game. Thank you if you are planning to include it in the update plan

Feathers not consumed (1.18)

When I do anything that's exhausting (running, jumping, attacking, .etc), it uses hunger instead of feathers.
Also, I assume weight is supposed to slow the person. But it doesn't really do anything.

here is me running (and jumping)

feathers.bug.mp4

[ENH] A way to adjust weight based on ItemStack not Item(id)

Just a question:
Currently the core weight logic is based on Items not ItemStacks. (Refer to ArmorHandler.getArmorWeight.) Is it possible to have this API accept an ItemStack?

Case: I would like to provide a Feathers-plugin for the ArmorUnderwear mod; however, I cannot mixin at this method successfully as the stack has been stripped (and that's where all the goodies regarding armor alterations are kept.) This might require some changes to how feathers info sent from client and everything seems item-id based.

Missing Lightweight Enchantment

I'm not sure if it's intentional, but I can't find the Lightweight enchantment in the JEI menu or an option in the config files that enables it. If it's not intentional, please add it back or give an option that enables it.

Edit: Also wasn't sure if I should put this on Elenai Dodge's page or this one

Setting Feather Cooldown at a higher value disables feather regeneration

Setting the "feather cooldown" config to a value higher than when it was when a PlayerFeathers Object was created disables regeneration for that Player, requiring The reinstancing of the Player entity (relog) to reenable the regeneration.
This is due to the maxcooldown field only being set on the creation of the Object, causing the addCooldown method to cap the cooldown to the old max value and thus never reaching the new config value.

Feathers overlap with horse healthbars

Screenshot from 2022-12-16 20-56-17
This is not an issue with mods overlapping each other. I think feathers just doesn't automatically adjust its position accordingly when riding a horse or any other mounts.

Mild incompatibility with Classic Bars Forge 1.19.2

This mod has an aesthetic incompatibility with the Classic Bars HUD mod.
Reproduced on a new instance with up-to-date forge using only
classicbar-1.19.2-6.1.2
feathers-1.1.1

Whereas the feathers should be a bar like the other UI elements, they are instead shown as normal minecraft icons. (for what it's worth, classic bars has had quite seamless integration with other things in the past, so hopefully this is a relatively easy fix that won't require redoing too much)

Attributes

Could you add an attribute for the max stamina as well as the stamina regen to be able to play on it with other mods?

1.12.2 Backport please!

Hey Elenai, I absolutely love your mods. But 1.12.2 is actually experiencing a huge resurgence; would you consider a backport?

Thank you!

Cold effect maximum duration is 10 seconds

not sure if this is intentional but the max amount of time you can set the cold effect for is 10 seconds, assuming its not being reapplied. trying to create an origin that has cold effects and this makes it annoying to work with. even if theres no vanilla survival way to get a longer cold duration, commands should be able to do that.

Incompatibility with Nostalgia Tweaks

Having an issue where mods that remove the experience bar, such as Nostalgia Tweaks, cause the feathers to be in the wrong spot when riding a horse. When riding the experience bar is shown temporarily as it is needed for the horses jump mechanic, this causes the offset I set to compensate for the missing bar to no longer be valid.

Easiest way to fix this would probably be to add extra offset values to the config for when riding a horse.

Feathers Max is 1012

image

For some reason Apothic shows max feathers as 1024. When you add the minimum +5% to all stats gem it also gives you energizing.

Sugestion: Exausted state

It would be cool if there was an option to have a delay in feather regeneration after a full bar depletion.

Feather bar is rendered above the chat

Feather bar is rendered above the chat, unlike every other bar such as oxygen, health, and armour. Why does this mod not just copy how vanilla handles these bars?

[Suggestion] Make Adjusting Feathers Toggleable

In reference to this issue here.

image

When you do patch this issue, could you make this feature toggleable (on/off)? My reasoning for this is that I have way too many bars, namely Origins, Tough as Nails, and Feathers. To organize these bars I have organized it in such a way that does feel visually balanced (one side has too many bars than the other). So I moved feathers to the left side of the hotbar. The issue with this is now when you do make feathers adjustable according to mount health bars, you now have a moving feathers when it doesn't have to. In any case this is just a rant of mine, you can ignore this if you want to, or I should just add another mod that adds bars on the left instead.

Not a issue; Possible enhancement

As of right now survive isn't out yet for 1.19.2 ( would imagine soon it will be) But seeing feathers being able to work with it as well since it also adds a weight/energy stamina kinda system would be cool! Clearly once it is out on 1.19.2 :) just a idea! love the dodge mod!!

Feathers Bar overlaps with other mods that add bars

I've been setting up a modpack and found the Feathers overlapping with some bars from other mods.

Here it overlaps with a bar from Origins.
image

and here it overlaps with the Origins bar and the Mana bar from Spells & Shields.
image

I was able to move the Mana bar above the health using its config file, which fixed that problem. But Origins doesn't provide that kind of customization. Hope there's a solution because I really love this mod! Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.