Back to mods
tweak-api project artwork

Modrinth · Minecraft mod

tweak-api

A Minecraft fabric api that make more events and callbacks, and configure

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

Quick answer

Which tweak-api release should I use?

Updated 1 year ago
Latest stable file 1.0.3-1.21.5
Game version 1.21.5
Loader Fabric

tweak-api 1.0.3-1.21.5 targets 1.21.5 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 2 required mods have matching files.

Where it goes

Is tweak-api required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

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

The source marks this as usable on both the client and server.

What else does tweak-api 1.0.3-1.21.5 need?

1.0.3-1.21.5. Change the file and its required mods may change too.

All 2 required mods have matching files

Install Fabric API, debug-helper first. We found matching files for this game-version and loader setup.

Fabric API Needed by tweak-api 1.0.3-1.21.5
required
Matching file found Matched file: [1.21.5] Fabric API 0.128.2+1.21.5
debug-helper Needed by tweak-api 1.0.3-1.21.5
required
Matching file found Matched file: 1.0.3

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add tweak-api without breaking your instance.

Built for tweak-api 1.0.3-1.21.5. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.3-1.21.5. It targets 1.21.5 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API, debug-helper first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.3-1.21.5. It opens that exact file at the source.

About this project

What does tweak-api add?

Tweak API

A powerful extension API for Minecraft Fabric mod developers, providing rich callback and event systems.

📦 Installation

For Developers

Add dependency in build.gradle:

dependencies {
    modImplementation "io.github.zhengzhengyiyi.tweak_api:tweak:${project.tweak_version}"
}

gradle.properties

tweak_version=1.0.3
# use same version number as the versions on modrinth

package inside

import io.github.zhengzhengyiyi.tweak_api.*;

🎯 Available Callbacks

  • GameOptionsChangedCallback - Triggered when game options are changed
  • EntityHurtCallback - Triggered when an entity takes damage
  • ScreenOpenCallback - Triggered before any screen opens
  • CommandExecuteCallback - Triggered before command execution

📜 License

Apache License 2.0

🔗 Links

🐛 Reporting Issues

Please report any issues on our GitHub Issue Tracker.


This mod requires Fabric API to function properly.

Project description from Modrinth.

Pick your setup

tweak-api by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

5 available setups

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

Recent files

tweak-api versions and loaders

9 of 9 releases match

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