Class Loader API
Modby Gnomorian
An Item and Entity Loading API for large Minecraft Mods.
Type
Mod
CurseForge Downloads
6,118
CurseForge ID
226061
Last Updated
Apr 12, 2026
Description
pass the api the package/folder your items or entities are in, and it will search that folder the item or entity, pass any parameters you provide it and load them into the game.
e.g.
yourMainClass.java
@EventHandler
public void preinit(FMLPreInitializationEvent event)
{
CLAPI clap = new CLAPI();
items = clap.getItems("nz.co.crookedhill.items");
registerItems(items);
}
private void registerItems(Map<String, Item>items)
{
for(Map.Entry<String, Item> entry : items.entrySet())
{
GameRegistry.registerItem(entry.getValue(), entry.getKey());
}
}
and thats it, all 100 of your items, registered cleanly.
Similar Mods
Mod Settings
Provides an easy to access configuration screen for all installed mods on Fabric
GL Currency
GL Currency is a mod whith money.
subpocket
Infinite storage with an unnoticeable price
Guildmaster
Custom Quests and Enchanting System!
Cobblemon EMI Compat
Cobblemon's recipes (campfire pot, brewing and berry mutation) native compatibility with EMI
EvoPlus
Auxiliary mod for PrisonEvo mode of DiamondWorld project, which includes functionality of boss timers, quick menu, hotke...