Minenash / CustomHUD

A highly customizable variable-based text HUD for Minecraft
MIT License
77 stars 23 forks source link

[Feature Request] Comments #117

Closed ywssp closed 6 months ago

ywssp commented 6 months ago

A way to add info in the profiles that are not rendered would be nice

An example of a comment would be

==Section:TopLeft, 0, 220==
# [Icon] Durability (Durability Percent)
{{item:armor.head, "{item:armor.head:icon -s1.75}{{item:armor.head:dur_per >= 80, '&b', item:armor.head:dur_per >= 50, '&f', item:armor.head:dur_per >= 10, '&e', '&c'}}{item:armor.head:dur} ({item:armor.head:dur_per})"}}
{{item:armor.chest, "{item:armor.chest:icon -s1.75 -sh0,-2}{{item:armor.chest:dur_per >= 80, '&b', item:armor.chest:dur_per >= 50, '&f', item:armor.chest:dur_per >= 10, '&e', '&c'}}{item:armor.chest:dur} ({item:armor.chest:dur_per})"}}
{{item:armor.legs, "{item:armor.legs:icon -s1.75 -sh0,-2}{{item:armor.legs:dur_per >= 80, '&b', item:armor.legs:dur_per >= 50, '&f', item:armor.legs:dur_per >= 10, '&e', '&c'}}{item:armor.legs:dur} ({item:armor.legs:dur_per})"}}
{{item:armor.feet, "{item:armor.feet:icon -s1.75 -sh0,-2}{{item:armor.feet:dur_per >= 80, '&b', item:armor.feet:dur_per >= 50, '&f', item:armor.feet:dur_per >= 10, '&e', '&c'}}{item:armor.feet:dur} ({item:armor.feet:dur_per})"}}

The # might be changed

Minenash commented 6 months ago

CustomHud uses // to indicate comments