Precise Damage
Change damage calculations to allow for fractional values! Can be installed in singleplayer same as any mod, or on a server (works with Vanilla clients!).
Normally, an item with an armor attribute of (for example) 4.5 points will be rounded down and calculated exactly the same as an attribute with 4 points. This mod fixes that. Same for percentage calculations. 9 points of armor plus a 25% attribute is 11.25 points, but Vanilla treats it like it is 11.
New in version 1.1! Precise Armor is now Precise Damage! The mod now works on PersistentProjectileEntities (Bow and Crossbow arrows). If there are any other sources of damage that are rounded, please let me know!
This mod does not change the player's armor bar HUD display like the gif (so to be compatible with vanilla and other HUD mods). For that, you need the precise-armor-bar mod (work in progress, Github link).
External resources
Project members
Andrew6rant
Owner