Skip to content

coredex-source/DetailArmorBarReconstructed

 
 

Repository files navigation

Detail Armor Bar Reconstructed

Detail Armor Bar for 1.21.5+

  • Detail Armor Bar Reconstructed is a fork of a fork of the Detail Armor Bar mod created by RedLime. This fork will be maintained and will be worked upon constantly by coredex-source.

Features different from orignal mod:

  • Enchantment overlay alignment (config option) - Align the overlay using levels or armor points.
  • Per-piece enchantment coloring - When using aligned mode, each armor piece's enchantment shows its proper color (blast protection shows yellow, fire protection shows orange, etc.).
  • Uniform color option - Apply a single customizable color to all enchantment effects regardless of protection type.
  • Added animation speed to aura mode.
  • Added none for enchantment overlay config options.
  • Thorns overlay alignment - When using aligned mode, thorns overlay aligns with actual armor pieces.
  • And many more..

Disclaimer for mod devs:

The project uses official Mojang mappings starting 5.0.0. The following has been changed in the API that may affect mods:

  • The functions draw and drawOutLine from CustomArmorBar.java now use GuiGraphics instead of DrawContext

To-Do (for version 5.x.x):

  • Major change: Yarn -> Mojang mappings. (Done, won't strike out for visibility reasons)

  • Add durability notifications.

  • Add armor trim overlay.

  • Add resource reload listener to refresh texture caches when resource packs change.

  • Reformat the config screen.

  • Rework the offset/positioning system.

  • Add inventory overlay for displaying armor protection type.

  • Add a durability overlay (will not be on the bar itself but somewhat like other armor hud mods unless I can pack it in there without making the bar too bloated).

  • Reformat and optimize existing code. (In progress.)

  • Add a modern DABR API. (Will eventually replace the existing API)

To-Do (for version 6.0.0):

  • Add render support to the mod and the API that can dynamically fetch textures and colors to form a armor texture for modded and/or vanilla sets.
  • Keep the png based texture loading system to maintain compatibility with existing resource packs and for the polished vanilla textures as dynamic loading will extract grayscale textures and repaint them which may or may not look unpolished.
  • Load trim palettes dynamically from textures/trims/color_palettes/<material>.png for automatic mod compatibility.
  • Extract armor material colors from textures/models/armor/<material>_layer_1.png for modded armor support.
  • Hybrid approach: Use polished vanilla textures from armor_bar.png, fallback to dynamic extraction for unknown/modded armors.
  • Add more in-built texture options for the armor bar.

API:

Modded armor set support:

  • Will I add it sometime in the future? Yes, preferably a dynamic version.
  • It already exists and is implemented in a brilliant way in Detail Armor Bar Compat

Downloads

Version Support

  • The mod will be supported for upto 3 versions, for example if 1.21.8 is the latest Minecraft release then support will be provided for 1.21.6, 1.21.7 and 1.21.8.
  • If a backport is to be requested, it can be requested be creating an issue here.

Credits

Orignal Mod and Docs

About

Minecraft 'Detail Armor Bar' Mod

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%