- Java 100%
| .forgejo/workflows | ||
| api | ||
| gradle/wrapper | ||
| minecraft | ||
| src/main | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle.kts | ||
Flap
A hacky javaagent to remap mods from different intermediaries pre-launch.
Usage
Put this jar to your game directory (not in the mods folder) and add
-javaagent:flap-VERSION.jar to your java arguments.
Configuration
Most recent mods contain information about which intermediary they're targeting. However, if such is not the case (f.e. because the build is too old) there are two options to tell flap about it. Otherwise, it will try to remap the mod with all available mappings.
-
Config file
Place a file at
<gamedir>/config/flap/mod_variants.jsonand structure it like this:{ "modid": "ORNITHE_V1", "other-modid": "LEGACY_FABRIC_V1" }Currently supported variants:
ORNITHE_V1,ORNITHE_V2,LEGACY_FABRIC_V1,LEGACY_FABRIC_V2,BABRIC,BABRIC_NEW_FORMAT,ANTIQUITY_MC,OFFICIAL. -
System property
Flap also checks a system property for each mod it is unable to determine a variant for.
Property name:flap.intermediary_variant_fallback.<modid>
Property values:ORNITHE_V1,ORNITHE_V2,LEGACY_FABRIC_V1,LEGACY_FABRIC_V2,BABRIC,BABRIC_NEW_FORMAT,ANTIQUITY_MC,OFFICIAL.
Unlike the config file values the property values are not case-sensitive.