Back to mods
punchy-fix project artwork

CurseForge · Minecraft mod

punchy-fix

add compat with kubejs6 and java

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which punchy-fix release should I use?

Updated 2 months ago
Latest stable file punchyfix-1.0.2.jar
Game version 1.20.1
Loader Forge

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.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

All 1 required mods have matching files

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.

  1. 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.

  2. 02

    Bring the mods it needs

    Install Punchy! - First person animations first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 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 invokes LivingEntity.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 a USE_ITEM trigger into Punchy’s UseActionTracker. Once Punchy’s UseItemStateMachine receives 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 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

punchy-fix versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.