Язык

JFFL

JFFL

Modrinth

JFFL is a tool used to Javassist of Minecraftforge bytecode operation library, provides mixin-like declarative patch injection it allows developers to use annotations at startup to modify the Minecraft and other mod classes.

29 загрузок обновлено 3d ago
последняя v1.0.4 Modrinth
Forge 1.20.1 – 1.20.6 Library

JFFL - Javassist Framework for Forge Loader

JFFL is a bytecode manipulation library for Minecraft Forge based on Javassist, providing Mixin-like declarative patch injection capabilities. It allows developers to modify classes from Minecraft and other mods at runtime using annotations, without the need to write low-level ASM or Javassist code directly.


Features

  • Declarative Annotation-Driven
  • Callback Handlers
  • Mapping Remapping Support
  • Flexible Injection Points

Installation and Dependencies

repositories {
    // Put the .jar of JFFL mod into the libs folder
    flatDir {
        dir 'libs'
    }
}
// Write in dependencies (replace {versino} with the actual version number):
dependencies {
    implementation fg.deobf("wertygh:jffl:{version}")
}

Relationship with Mixin

JFFL is not a replacement for Mixin but rather provides an alternative option. Both can coexist, though applying both to the same class is not recommended as it may lead to unexpected conflicts. JFFL's advantages include:

  • Lightweight, based on Javassist source-level operations, easier to debug
  • Supports dynamic callback registration without generating synthetic methods

Development and Debugging

In development environment (jffl.dev=true):

  • JFFL outputs detailed logs
  • Use @DumpClass to output modified classes to the .jffl-dump directory
  • Supports direct use of MCP/Mojang names without loading mappings

License

BSD Zero Clause License


Contribution and Feedback

Issues and Pull Requests are welcome!
Project author: wertygh

Версии

Release
1.0.4
forge · 1.20.1, 1.20.2, 1.20.3 · 3d ago
## Updates - Fixed an issue where, due to ClassLoader isolation, classes in patches could not access Forge, Minecraft, or mod classes. - Fixed the protocol…
4
Release
1.0.3
forge · 1.20.1, 1.20.2, 1.20.3 · 15d ago
Updata Javassist to 3.31.0-GA
6
Release
1.0.3
forge · 1.20.1, 1.20.2, 1.20.3 · 1mo ago
## update: - Supplementary AGREEMENT LICENSES - Some features added
9
Release
1.0.2
forge · 1.20.1, 1.20.2, 1.20.3 · 1mo ago
10

Комментарии 0

Пока нет комментариев. Будь первым, кто поделится мнением.

Скачать JFFL

Файлы отдаются напрямую с первоисточника. Modgrid не хранит и не изменяет их.