Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
iCommon API Mod Wiki

iCommon API Mod Wiki & Guide

wiki.9minecraft.net/icommon-api-mod/

Provides a shared API library for other mods to use.

Guides

Step-by-step, in-game.

Frequently asked questions

How do I start using iCommon API Mod in my own mod?
Add iCommon API as a dependency in your mod's build configuration, then import the library classes you need. The mod is designed to work across multiple game versions, so you can use its functions without worrying about version-specific code.
What's the difference between this and just coding version-specific logic myself?
ICommon API abstracts away version differences, so you write your code once and it works across multiple versions automatically. This saves development time and reduces bugs from maintaining separate codebases.
Can I use the YAML Configuration API without understanding YAML?
Yes—the API handles the parsing for you, so you just define your config structure and read/write values through simple function calls. The guides show examples of basic YAML syntax you'll need.
Do I need to manually register event listeners for world and chunk events?
No, the Events system in iCommon API handles registration automatically when you use the provided event classes like WorldChunkInitEvent and ServerWorldInitEvent. You just listen for the events you care about.

See all 10 iCommon API questions ›