Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Integration

Integration

Library for better mod integrations.

40
2
Library
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x

Platforms

Fabric
Forge
NeoForge

Supported environments

Client-side
Server-side
Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Join Discord server
Donate on PatreonDonate on Ko-fiDonate

Creators

IAFEnvoy
IAFEnvoy Member

Details

Licensed LGPL-3.0-or-later
Published 6 days ago
Updated last week
DescriptionChangelogVersions

Integration

This is a library mod to help other mods make integration easier.

This mod is based on loaders' api, not Minecraft's. So it can run on any versions if the loader supported.

How to use

  • Use maven { url "https://maven.kessokuteatime.work/releases" }. for more info, see https://maven.kessokuteatime.work/#/releases/com/iafenvoy/integration
  • Use maven { url "https://jitpack.io" }. for more info, see https://jitpack.io/#IAFEnvoy/Integration

Core APIs

  • IntegrationExecutor: Safely run integration code only when target mod loaded.
  • EntryPointManager: Customizable entry points based on Annotation (Forge/NeoForge) and EntryPoint (Fabric).

Examples

Integration with example-mod

IntegrationExecutor.runWhenLoad("example-mod",()->()->{
        //Your code here.
        });

Customize entry point


@EntryPointProvider(slug = "example-mod")
public class ExampleModIntegration implements IntegrationEntryPoint {
    //Your code here
}
//fabric.mod.json
{
  //Other parts
  "entrypoints": {
    "example-mod": [
      "xxx.ExampleModIntegration"
    ]
  },
}

Get this entrypoint:

EntryPointManager.getEntryPoints("example-mod");

请不要把这个mod搬到mcmod.cn,不然重生会打死我的(((

Modrinth is open source.

new-orgs-page@a27b5f4

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.