-
Notifications
You must be signed in to change notification settings - Fork 204
Use minecraft logic for tool durability bar #1648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The first fix for the durability being inverted from vanilla is fine, however always showing the durability bar was a purposeful decision that should remain the way it is |
|
Do you want to elaborate as to why? |
Tictim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impl looks fine. For durability bar visibility I think hiding it on full durability like vanilla is both more intuitive and beneficial during gameplay.
What
Minecraft logic for durability is 0/ is full durability, show showing the durability bar, we were doing the opposite.
This had the effect of causing durability mods that use the durability rgb for that tool to be opposite of what is should, red instead of green.
Also made it so the durability bar is not shown if the tool is not damaged.
Outcome