Class Loader API
Modby Gnomorian
An Item and Entity Loading API for large Minecraft Mods.
Type
Mod
CurseForge Downloads
7,371
CurseForge ID
226061
Last Updated
Jul 26, 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.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Maxi's All Ride Mons! Mount all Cobblemon!
This data pack adds the possibility to ride all current Pokémon found in Cobblemon, for you to enjoy your journey across...
Create: Buzzy Bees
Place your schematics with the help of the Mechanical Bee.
Lever durgster
reworks create/design n decor/supplementaries stepped lever to be like aeronautics throttle lever
Level Up! Legacy
The old version of Level Up for modern versions
Prehistoric Revival - A Prehistoric Fauna Add-On
A cloning and revival add-on for Prehistoric Fauna
Sable: Mass view (Create Aeronautics)
Shows Sable block mass in advanced block tooltips.