Skip to content

Conversation

@Caedis
Copy link
Member

@Caedis Caedis commented Mar 25, 2023

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

image

@Caedis Caedis requested a review from Tictim April 13, 2023 15:07
@ALongStringOfNumbers ALongStringOfNumbers added the type: feature New feature or request label Apr 13, 2023
@ALongStringOfNumbers
Copy link
Contributor

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

@Caedis
Copy link
Member Author

Caedis commented May 19, 2023

Do you want to elaborate as to why?

Copy link
Contributor

@Tictim Tictim left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants