Modscraper Modscraper Minecraft
JFFL logo

JFFL

Mod

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.

Type

Mod

Modrinth Downloads

7

Modrinth ID

lTm9zXaK

Last Updated

May 14, 2026

Description

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

Compatibility

Mod Loaders

Forge

Game Versions

1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6

Similar Mods

External Resources