Dynamic Crosshair is a Minecraft mod for the Fabric launcher. It hides or changes the crosshair dependent on context.
Hides the crosshair when not targetting anything:
Facing a log, wielding an axe, in the default configuration.
The square tool crosshair has a dot to mark this block as breakable,
and there is a rounded bracket around it to indicate a "use" action: stripping the log.
This mod has been written for Fabric for Minecraft >= 1.18. It should still work on 1.17, but may have some wrong interaction rules.
Get packaged versions from Modrinth or Curseforge!
This mod is very strongly coupled to vanilla Minecraft and has to hardcode a lot of interaction rules. Thus, playing on a non-vanilla world will make the advanced features (context-dependent style) unreliable.
Modded items are forced to have a crosshair active when holding them in the main hand. There sadly is no general way to differentiate between regular items and tools/weapons.
I highly suggest my other mod Auto HUD, which allows to dynamically hide and reveal HUD elements based on context.
The following mods are incompatible:
If you play with content mods, I recommend also installing Dynamic Crosshair Compat from Modrinth or Curseforge.