pub fn control_down() -> bool
Either Control key is held (Minecraft’s Screen.hasControlDown(); on macOS Minecraft uses Command — not covered here).
Screen.hasControlDown()