ModsFinder

Plugin ASM

by laolizhennui

Plugin ASM is a Java Agent library for Paper, Bukkit and Folia servers that lets other code modify bytecode at runtime through simple annotations.

Java AgentServer-side onlyGNU Lesser General Public License v2.1 or laterOpen source1.0 – 1.21.11

What it does

The library works as a lightweight, Mixin-style bytecode injection framework. Developers declare method modifications with annotations, and the changes are applied through ASM instead of being written by hand as bytecode. Reflection, inheritance and a runtime performance penalty are described by the author as not required, and the library is aimed at server environments such as Paper and Folia.

Plugin ASM is server-side only, so only the server needs it and players join without installing anything. It is published as a Java Agent for 1.21.11, with the latest file 0.1.0-alpha3 on the alpha channel, and game versions 1.0 – 1.21.11 are covered across 98 release versions. The project is released under the GNU Lesser General Public License v2.1 or later and is open source, with public links to the source code, issue tracker and wiki, where usage examples are kept.

The author describes the project as young and notes known limitations that may be addressed in later versions. Contributions are welcomed through the repository, and the wiki holds detailed usage examples and the scenarios the library has been tested against.

Key features

  1. Annotation-driven injection

    Bytecode changes to arbitrary classes are declared with annotations and applied at runtime.

  2. Mixin-style method changes

    Method modifications are declared in a Mixin-like style, so the injection points are written next to the code they change.

  3. ASM-based bytecode writing

    The library uses ASM for the bytecode work, and developers can still write bytecode manually where needed.

  4. Paper and Folia support

    The framework is designed for Paper and Folia server environments and works alongside Bukkit-based plugins.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.21.x12 of 12 versions with builds
1.21.110.1.0-alpha3
1.21.100.1.0-alpha3
1.21.90.1.0-alpha3
1.21.80.1.0-alpha3
1.21.70.1.0-alpha3
1.21.60.1.0-alpha3
1.21.50.1.0-alpha3
1.21.40.1.0-alpha3
1.21.30.1.0-alpha3
1.21.20.1.0-alpha3
1.21.10.1.0-alpha3
1.210.1.0-alpha3
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
1.13.x3 of 3 versions with builds
1.12.x2 of 2 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

50 older game versions (1.0 – 1.12) not shown. All files on Modrinth

Use cases

Plugin developers

Developers who need to change server code that has no API hook can inject their changes without reflection.

Server maintainers testing changes

Maintainers evaluating a runtime change can use the wiki examples to see how a modification is declared.

Who it’s for: Plugin developers working on Paper or Folia servers who want declarative bytecode modification. Server owners do not need to do anything beyond installing the agent on the server.

Questions

Does Plugin ASM have to be installed on players' clients?

No. Players join without it, since only the server has to run the mod.

Which Java version does Plugin ASM need?

The project lists Java 8 in its feature notes. The latest Java Agent file is 0.1.0-alpha3 for 1.21.11.

Where can usage examples be found?

The wiki contains detailed usage examples, and the issue tracker is linked from the project's public pages.

In the catalog

Plugin ASM is one of 3,514 Library mods on ModsFinder. 19,862 mods support Minecraft 1.21.11.

More from laolizhennui

All projects

Similar mods

What the author says

PASM 是一个轻量级、Mixin 风格的字节码注入框架,专为 Paper / Folia 服务端设计。 它允许你通过简单的注解,在运行时修改任意类的字节码——无需反射,无需继承,无性能损耗。 PASM is a lightweight, Mixin‑style bytecode injection framework designed specifically for Paper / Folia server environments. It allows you to modify the bytecode of arbitrary classes at runtime using simple annotations—no…
laolizhennui, on the Modrinth page

Official listing

Owner
laolizhennui
Published
2026-02-13
Updated on Modrinth
2026-02-18
Facts verified
2026-10-15

Tags