Add option to disable f3 additions (#1308)

This commit is contained in:
MalTeeez authored and GitHub committed 2026-01-26 09:56:11 -08:00
1 parent 5ef6cb11c0
commit cde47ea423
5 files changed
+24 -3

No files matched your search

@@ -37,7 +37,7 @@ public class IrisDebugScreenHandler {
@SubscribeEvent(priority = EventPriority.LOW)
public void onRenderGameOverlayTextEvent(RenderGameOverlayEvent.Text event) {
final Minecraft mc = Minecraft.getMinecraft();
if (mc.gameSettings.showDebugInfo) {
if (mc.gameSettings.showDebugInfo && !AngelicaConfig.disableF3Additions) {
event.right.add(Math.min(event.right.size(), 2), "Direct Buffers: +" + iris$humanReadableByteCountBin(iris$directPool.getMemoryUsed()));
if (Iris.getIrisConfig().areShadersEnabled()) {