Kodari Conditional Combat

About

KodariConditionalCombat is a Minecraft 1.21.11 Fabric mod that transforms Left Ctrl into a conditional aerial combat key. It introduces a virtual sixth hotbar slot for a configurable combat item, a target-lock system preventing repeated attacks on the same entity within three blocks, and an optional shield-counter mode with its own keybind. The mod validates targets via distance, line-of-sight, crosshair alignment, and airborne state checks, respecting Minecraft's native combat rules. It includes configurable settings for detection distance, airborne requirement, and shield detection, with a state machine managing idle, target-detected, combat, locked, and reset states. The mod is client-side, lightweight, and designed to enhance combat responsiveness without bypassing server-side validation.