···38383939 @Unique
4040 private void renderArmor(DrawContext context, float tickDelta) {
4141- final int hungerWidth = 80 + 8; // Bar advances 8 pixels to the left 10 times, 8 is added for the with of the last sprite.
4141+ final int hungerWidth = 80 + 8; // Bar advances 8 pixels to the left 10 times, 8 is added for the width of the last sprite.
4242 final int armorWidth = 15;
4343 final int barWidth = armorWidth * 4;
4444 float hungerX = scaledWidth / 2f + 91;
···47474848 for (int j = 0; j < 4; j++) {
4949 x -= armorWidth;
5050- renderArmorPiece(context, x, armorHeight, tickDelta, client.player, client.player.getInventory().getArmorStack(j), 1);
5050+ int armorPiece;
5151+5252+ if (config.RTL) {
5353+ armorPiece = 3 - j;
5454+ } else {
5555+ armorPiece = j;
5656+ }
5757+5858+ renderArmorPiece(context, x, armorHeight, tickDelta, client.player, client.player.getInventory().getArmorStack(armorPiece), 1);
5159 }
5260 }
5361
···55 "config.doublehotbar": "Double Hotbar",
66 "config.bettermounthud": "Better Mount Hud",
77 "config.armorvisible": "Armor visible",
88+ "config.righttoleft": "Right to left display",
89 "config.done": "Done",
9101011 "config.description.doublehotbar": "Ensures complatibility between double hotbar and armor hud",
1112 "config.description.bettermounthud": "Makes better mount hud compatible",
1212- "config.description.armorvisible": "Toggles the visibility of the armor hud"
1313+ "config.description.armorvisible": "Toggles the visibility of the armor hud",
1414+ "config.description.righttoleft": "Displays the armor from right to left instead of left to right"
1315}
···55 "config.doublehotbar": "Double Hotbar",
66 "config.bettermounthud": "Better Mount Hud",
77 "config.armorvisible": "Harnas-hud zichtbaar",
88+ "config.righttoleft": "Rechts naar links display",
89 "config.done": "Gereed",
9101011 "config.description.doublehotbar": "Zorgt voor compatibiliteit met de double hotbar mod",
1112 "config.description.bettermounthud": "Maakt armor hud compatibel met de better mount hud mod",
1212- "config.description.armorvisible": "Zet de zichtbaarheid van het harnas aan of uit"
1313+ "config.description.armorvisible": "Zet de zichtbaarheid van het harnas aan of uit",
1414+ "config.description.righttoleft": "Laat de harnas-hud van rechts naar links zien in plaats van links naar rechts"
1315}