JFFL 图标

JFFL

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.4
本资源为搬运资源,原资源地址: https://modrinth.com/mod/jffl
资源信息

Minecraft 版本: 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6

平台: forge

标签: 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

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Modern Transparent [UI]

价格:0 墨喵币
下载量:0

查看详情
[xztx]CoreTweaker127的奇妙模组 CoreTweaker127's Wonderful Mod

价格:0 墨喵币
下载量:0

查看详情
All Netherite

价格:0 墨喵币
下载量:0

查看详情
Simple Enhanced Vanilla

价格:0 墨喵币
下载量:0

查看详情