CurseForge · Minecraft mod
punchy-fix
add compat with kubejs6 and java
Quick answer
Which punchy-fix release should I use?
punchy-fix punchyfix-1.0.2.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is punchy-fix required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does punchy-fix punchyfix-1.0.2.jar need?
punchyfix-1.0.2.jar. Change the file and its required mods may change too.
Install Punchy! - First person animations first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add punchy-fix without breaking your instance.
Built for punchy-fix punchyfix-1.0.2.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use punchyfix-1.0.2.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Punchy! - First person animations first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside punchyfix-1.0.2.jar. It opens that exact file at the source.
About this project
What does punchy-fix add?
Punchy Fix
A Forge 1.20.1‑side client‑only add‑on mod. When a Java‑based mod or KubeJS 6 script calls the player‑arm‑swing method (LivingEntity.swing(), including KubeJS’s player.swing()), this mod makes the closed‑source Punchy mod play its normal‑item‑use interact animation, instead of doing nothing or triggering an attack animation.
Mechanism
- KubeJS 6’s
player.swing()ultimately invokesLivingEntity.swing(hand, true). - Punchy itself mixes‑into this method; a normal swing is recorded by Punchy as an attack.
- This mod intercepts
swing()beforehand with a higher‑priority Mixin (priority 1500). If it confirms that the swing is not an attack, mining action, or a tracked item‑use action, it writes aUSE_ITEMtrigger into Punchy’sUseActionTracker. Once Punchy’sUseItemStateMachinereceives this trigger, it will play the normal‑item‑use animation. Punchy’s own swing‑related mixin, upon detecting an existing use trigger, will no‑longer mark this swing as an attack. - Guard conditions: Swing echoes occurring within 1 second after a client‑side attack request or a mining request will not be bridged, to prevent genuine attacks / mining actions from being misidentified as item‑use actions. No suppression is applied to item‑use events: every
swing()call reaching the client will trigger the use animation, and rapid repeated clicks will be interrupted and restarted by Punchy’s native animation logic.
KubeJS Usage
ItemEvents.rightClick(event=>{
let player = event.player;
player.swing(); // Arm‑swing animation will play successfully
})
Calls to player.swing(hand) from any Java mod will also be bridged automatically, requiring no extra API dependency on this mod.
Project description from CurseForge.
Pick your setup
punchy-fix by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
punchy-fix versions and loaders
punchyfix-1.0.2.jar
29 Aug 2026
punchyfix-1.0.1.jar
27 Aug 2026
punchyfix-1.0.0.jar
27 Aug 2026
Looking for an older file? The official CurseForge project page is in Resources.