Make sanity more intense

This commit is contained in:
2025-11-15 22:02:08 +01:00
parent 99be5edf3e
commit 0bfe52a3ee
8 changed files with 274 additions and 31 deletions
@@ -41,16 +41,10 @@ public class SanityTempoOverlay {
int insanityFill = (int) (BAR_WIDTH * insanityPercent);
RenderSystem.enableBlend();
// --- TEMPO BAR ---
drawRoundedBar(gui, xTempo, y, BAR_WIDTH, BAR_HEIGHT, 0xFF33AFFF, tempoFill);
gui.drawString(mc.font, Component.literal("Tempo"), xTempo, y - 10, 0x66CCFF, false);
// --- SANITY OR INSANITY BAR ---
boolean insaneMode = sanity <= 0;
if (!insaneMode) {
// Normal sanity bar
drawRoundedBar(gui, xSanity, y, BAR_WIDTH, BAR_HEIGHT, 0xFFFFFFFF, sanityFill);
gui.drawString(mc.font, Component.literal("Sanity"), xSanity + BAR_WIDTH - 30, y - 10, 0xFFFFFF, false);
} else {