跳到正文

FoxifiedClassTweaker

作者:TexTrue

Provide Fabric's ClassTweaker support for FancyModLoader.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

FoxifiedClassTweaker

Provide Fabric’s ClassTweaker support for FancyModLoader.

How to use

For modder

When using ClassTweaker/AccessWidener in a development environment, please use Loom whenever possible (e.g., architectury-loom, RelativityMC’s neo-loom, etc.).

The following explanation will use the Loom environment as an example. The ModDevGradle/NeoGradle environments require Gradle plugins to handle ClassTweaker/AccessWidener.

Like add NeoForge’s AccessTransformer.
Add the following to your META-INF/neoforge.mods.toml file:

You must place the ClassTweaker/AccessWidener files (which are theoretically compatible with AccessWidener) in the appropriate directory.

[[foxified.classtweaker]]
file = "modid.classtweaker"

If you don’t want players to download this library, you can simply include the processor package as a jar-in-jar within the mod. see below:

repositories {
    maven {
        name = "KTTMaven"
        url = "https://maven.kessokuteatime.work/snapshots"
    }
}

dependencies {
    include "team.cagayakegirls.foxified:foxified-classtweaker-processor:<version>"
}

Currently, FancyModLoader 10 and above version is supported (FML 10 env only working with official mappings).

Please note that you must have ClassTweaker/AccessWidener (theoretically compatible with AW) files in the corresponding directory.

For player

If a mod specifies that it depends on this mod, you can simply install this mod.

常见问题

FoxifiedClassTweaker 支持哪些 Minecraft 版本?

FoxifiedClassTweaker 支持 Minecraft Java 版 26.1–26.3,共 5 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

FoxifiedClassTweaker 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

TexTrue 的其他作品

查看全部 →