From e48d77b1cda809c7d53fcd9db1e72935c456750c Mon Sep 17 00:00:00 2001 From: Zpiboo Date: Mon, 8 Jun 2026 11:02:33 +0200 Subject: [PATCH] feat: add setting to toggle F3+C "copy position" shortcut --- common/src/main/java/io/github/kurrycat/mpkmod/Main.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/common/src/main/java/io/github/kurrycat/mpkmod/Main.java b/common/src/main/java/io/github/kurrycat/mpkmod/Main.java index 00723e91..a477427e 100644 --- a/common/src/main/java/io/github/kurrycat/mpkmod/Main.java +++ b/common/src/main/java/io/github/kurrycat/mpkmod/Main.java @@ -49,6 +49,13 @@ public class Main implements MPKModule { ) public static boolean highlightLandingBlocks = true; + @Option.Field( + category = "debug", + displayName = "Copy Position Shortcut", + description = "Whether to override the vanilla F3+C shortcut to copy your precise position" + ) + public static boolean copyPositionShortcutEnabled = true; + @Override public void init() { infoTree = InfoString.createInfoTree(); @@ -105,6 +112,8 @@ public void loaded() { ModuleManager.reloadAllModules(); } } else if (event.keyCode == InputConstants.KEY_C) { + if (!copyPositionShortcutEnabled) return; + if (Player.getLatest() == null) return; Player p = Player.getLatest(); Minecraft.copyToClipboard(