3
3
Fork
You've already forked Flap
0
java agent for pre-launch cross-intermediary remapping
  • Java 100%
moehreag 25b64b0d2a
Some checks failed
Automated build / build (push) Has been cancelled
fix FabricVariants.OrnitheImpl having an identity crisis
2026年06月10日 12:26:53 +02:00
.forgejo/workflows update included gson 2026年02月13日 14:30:35 +01:00
api fix FabricVariants.OrnitheImpl having an identity crisis 2026年06月10日 12:26:53 +02:00
gradle/wrapper fix FabricVariants.OrnitheImpl having an identity crisis 2026年06月10日 12:26:53 +02:00
minecraft fix FabricVariants.OrnitheImpl having an identity crisis 2026年06月10日 12:26:53 +02:00
src/main fix FabricVariants.OrnitheImpl having an identity crisis 2026年06月10日 12:26:53 +02:00
.gitignore init project 2026年02月04日 22:07:18 +01:00
build.gradle.kts fix FabricVariants.OrnitheImpl having an identity crisis 2026年06月10日 12:26:53 +02:00
gradlew catch errors to not crash the game 2026年03月30日 11:56:53 +02:00
gradlew.bat init project 2026年02月04日 22:07:18 +01:00
LICENSE add license 2026年02月06日 23:41:35 +01:00
README.md add readme & fallback config file reading 2026年02月10日 17:14:56 +01:00
settings.gradle.kts add FlapService allowing mods to add additional mappings 2026年04月02日 13:02:03 +02:00

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.json and 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.