Class Loader API
Modby Gnomorian
An Item and Entity Loading API for large Minecraft Mods.
Type
Mod
CurseForge Downloads
6,744
CurseForge ID
226061
Last Updated
Jun 5, 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
No Elytra Boosting
Removes rocket boosting; encouraging the player to use other means of transportation and engage more deeply in the world...
Metropolis
Library mod for Fureniku's mods
R E A L 👽
👽 P A I N T I N G
S.L.O.P. Vehicle Pack [MTS/IV]
Immersive vehicles content pack: AH-1/Ferret/Leclerc /AMX-10P/Type 87/OV-10/AMX-13
Jammy Furniture
this mods adds interior and exterior decoration blocks, construction blocks such as flooring or doors (Inspire by Jammy...
Nether+
adds netherite from 1.16 to 1.16.4 and 1.15.2