Auto HUD
Auto HUD is a Minecraft mod for the Fabric launcher which hides parts of the user interface (HUD) that are currently not interesting.
It is inspired by similar mods ("immersive hud") for other games. I personally really like the clean view of no visible HUD, but get frustrated by the limitations of using F1 mode.
This is an opinionated rewrite of Head-down Display that never got updated.
Features
- Toggle the whole HUD with a key binding.
- Have parts of the HUD that haven't changed hide away.
- Hide persistent, unchanging status effects, such as water breathing from the turtle helmet.
- Show remaining time of status effects.
- Highly configurable.
Visual differences to F1 mode
- Player hand / equipped items remain visible
- Player names remain visible
- The vignette remains active
- Incoming chat messages still pop up
- Crosshair remains visible (see my other mod Dynamic Crosshair for that)
- Configurable what elements are hidden
Dependencies
This mod has been written for Fabric for Minecraft >= 1.18.2.
- requires Fabric API
- requires ClothConfig
- not required: Mod Menu for ingame configuration screen
Mod Compatibility
This mod includes a modified version of magicus' Status Effect Timer, because I could not figure out how to dynamically insert my modifications into it. Since this mod allows for status effect icons to be hidden individually, the non-modified version will draw the timers in the wrong place.
Known to be compatible:
- Dynamic Crosshair augments this mod by dynamically hiding the crosshair as well.
- Raised works perfectly.
- HUDTweaks mostly works. Vertical status effects bar does not work with the timer overlay. Animation direction and offset may have to be tweaked in AutoHud's settings manually.
- AppleSkin appears to work fine.
- DetailArmorBar is supported.
- BerdinskiyBear's Armor Hud is supported in hotbar mode.
Known to be incompatible:
- OptiFabric crashes due to mixin conflicts.
- Any other mod that draws status effect timers should have that functionality disabled.
- HUD elements created by other mods will most likely not be moved.
- Bedrockify overwrites the status effect modifications. To get them working, disable the
screenSafeArea
mixin.
hey, I had a crash with your new 1.6.1 auto hud publish, i made an issue on your github
Could you make it so that hud items like health, exp, and hunger shift down when the hotbar becomes hidden? Head-down Display had this feature and i feel that is all this mod is missing.
In reply to stardoughnut:
Hi! I'm not sure exactly what you are looking for. Do you want the elements to move together? In that case, try the different values for `revealType`to see if you like one of them (`COMBINED` would be the closest to HDD's behaviour).
Or do you want the ability to shift them down without fully hiding them? In that case you'd have to tweak the advanced settings and reduce the `distance` field for all components to a value you like. I guess I could make that a bit easier if this is what you want.
Hope this helps! If both don't work the way you wanted it to, please let me know :)
In reply to Crendgrim:
I tried these suggestions, but it doesn't achieve the effect I was hoping for. I was looking for the ability to have the hearts, hunger, armor, and exp bar always be visible but shift down whenever the hotbar is hidden. This would mean that once the hotbar is put away, the hearts, hunger, armor and exp would shift down to compensate and not leave that huge gap at the bottom of the screen, so they would always be visible. Hopefully this makes it more clear. Cheers!
In reply to stardoughnut:
Greetings! I pushed version 1.6 which should make it easier to configure what you want.
You will want to set the following:
- Handle components as: Grouped
- Default distance: 23
- Set all buttons ("reveal when") to Disabled
- Set "reveal on experience change" to "false"
This should yield the result you were describing. Hope this does it! :)
This is a great mod! If possible, I would like to see it compatible with the mod "microDurability" for future development. I would be glad if you would consider this.
https://www.curseforge.com/minecraft/mc-mods/microdurability
In reply to BOTpapa:
Thank you! I'll investigate, microDurability has been on my radar as well, I just haven't figured out how to add support for it :)
In reply to BOTpapa:
I figured it out. Version 1.4 adds support for MicroDurability :)
In reply to Crendgrim:
Thank you! I'm glad you went out of your way to let me know. You are very kind. I'll use it right away!
I googled around for a mod like this yesterday, and you posted today. Amazing!!! It looks great!
Could you possibly add compatibility for the Dehydration mod, made by Globox_Z?
It would complete my personal modpack if you did.
Thank you for the time you put into making this!
In reply to ryans_jp:
I should add, the dehydration bar moves with the hunger bar.
In reply to ryans_jp:
Thank you for the kind words! I will look into it.
In reply to ryans_jp:
Hi! I uploaded version 1.3 with support for Dehydration. :)
Since I have no idea how to cleanly add configs depending on what other mods are installed, it's hardcoded to follow the same rules as the hunger bar. But both move independently of each other.
Hope you enjoy it :)
In reply to Crendgrim:
You are awesome! Thank you so much for taking the time to do that.
Thank you!
In reply to Crendgrim:
Does it follow the configured settings for hunger? It doesnt appear even when empty.
In reply to ryans_jp:
Did you happen to die? I found a bug where that would break the mod, fixed in 1.3.1.
Otherwise, it seems to work for me. If 1.3.1 doesn't work for you either, could you send me a direct message on CurseForge here with your mod list and Auto Hud config?
In reply to Crendgrim:
I deleted my config file and updated and it works now! It works best when set to show when changing as well.
What I am experiencing now though, is the xp bar not behaving according to the config rules. It does not disappear at all it seems.
would you like me to dm you my mod list and Auto Hud config?
In reply to ryans_jp:
Hmm, curious. Seeing your config would be very helpful, yes :)
In reply to Crendgrim:
Hey! btw I cleared all of my configs and the issue was fixed. There was something up, but it's been fixed now. Thanks for responding though. It's all working perfectly now!