← Назад к ресурсам

FoxifiedClassTweaker

Provide Fabric's ClassTweaker support for FancyModLoader.

Modrinth library

Описание

# FoxifiedClassTweaker Provide [Fabric's ClassTweaker](https://docs.fabricmc.net/develop/class-tweakers/) 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. ```toml [[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: ```groovy repositories { maven { name = "KTTMaven" url = "https://maven.kessokuteatime.work/snapshots" } } dependencies { include "team.cagayakegirls.foxified:foxified-classtweaker-processor:" } ``` 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.