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.
Create a Custom YAML Configuration FileSetting Up Your Config The iCommon API Mod provides a simple YAML Configuration API that lets you store and manage…Handle Player Events (Gamemode Changes and Respawns)Player-Triggered Events The iCommon API Mod provides events for common player actions. Mods built on this library can…Monitor World and Chunk Loading EventsUnderstanding World Events The iCommon API Mod exposes events that trigger when worlds and chunks load. Mods built on…Use Resource and Datapack Metadata APIUnderstanding Metadata The iCommon API Mod includes a Resource/Datapack Metadata API that lets mods read and manage…
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 ›
You May Also Like
Wikis that share the most with this one
More mod wikis on the site
The most downloaded mods that have a wiki here
A few wikis from each of the other kinds
Ice and Fire Mod
Ice Boat Nerf Mod
Ice Prevents Crop Growth Mod
Iceberg Library
Icterine
Ice and Fire Dragons 9minecraft
Icarus X Transmog Compat Mod
IC2 Classic Mod
I Want That Back Mod
AppleSkin
JourneyMap Mod
Placebo
Waystones
Nature's Compass Mod
Enchantment Descriptions Mod
Patchouli Mod
Jade Mod
Quark Mod
Balm Mod
3D Crops 9minecraft Resource Pack