Madis0 / OneBar

A Minecraft HUD mod for Fabric Loader
Other
7 stars 2 forks source link

Show restored hunger for held food item #2

Closed Madis0 closed 3 years ago

Madis0 commented 3 years ago

Not yet sure how to get the active item, determine it is a food and its properties. Also, how would it be reflected in the bar?

Madis0 commented 3 years ago

Active item can be found from playerentity, food restorability value is probably inside that item object. Could be reflected in the bar as a strip below hunger, maybe yellow.

Madis0 commented 3 years ago

Done: yellow if wasted, green if exact or less