I'm working on a 1.16.5 Minecraft client-side mod and I am trying to get the scoreboard to be invisible when the Debug HUD
is visible. I have a basic mixin to the scoreboard's rendering function but I need to be able to check for whether the DebugHud
is visible or not.
Code:
@Mixin(InGameHud.class)
public class MScoreboardHUD {
@Inject(at = @At("HEAD"), method = "renderScoreboardSidebar")
private void init(CallbackInfo info) {
// soon
}
}