···115115 renderArmorPiece(context, x, armorHeight, minecraft.player, armor);
116116 }
117117 }
118118- System.out.println(x);
119119-120120-/* Putting this on the backburner for a little while to implement other things - Legoraft
121121-122122- // counts empty slots to center condensed armor bar, don't like having to loop through the equip slots twice but idk how else to center this dynamically -dino
123123- int emptyArmorSlots = 0;
124124- if (config.TRIM_EMPTY_SLOTS) {
125125- for (int i = 2; i<6; i++) { // checks players armor slots only. probably makes stuff like trinkets incompatible -dino
126126- if(client.player.getEquippedStack(slots[i]).isEmpty()) {
127127- emptyArmorSlots++;
128128- }
129129- }
130130- }
131131-132132- float x = hungerX + hungerWidth - (7 * emptyArmorSlots) + 2;
133133-*/
134118 }
135119136120 @Unique