Back to mods
CraftCoreLIB project artwork

CurseForge · Minecraft mod

CraftCoreLIB

Cross-Platform library providing registgries and utils for mod developers.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which CraftCoreLIB release matches 26.1.2 NeoForge?

Updated 2 days ago
Best match for your filters craftcorelib-neoforge-26.1.2-1.1.1.jar
Game version 26.1.2
Loader NeoForge

craftcorelib-neoforge-26.1.2-1.1.1.jar targets 26.1.2 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is CraftCoreLIB required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does craftcorelib-neoforge-26.1.2-1.1.1.jar need?

craftcorelib-neoforge-26.1.2-1.1.1.jar on 26.1.2 NeoForge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add CraftCoreLIB without breaking your instance.

Built for craftcorelib-neoforge-26.1.2-1.1.1.jar on 26.1.2 NeoForge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use craftcorelib-neoforge-26.1.2-1.1.1.jar. It targets 26.1.2 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside craftcorelib-neoforge-26.1.2-1.1.1.jar. It opens that exact file at the source.

About this project

What does CraftCoreLIB add?

CraftCoreLIB

CraftCoreLib is a cross-plaftorm library built for developers for simplify registries on multiloader and many more features!

Registries

This lib provides core code for simple registries like blocks, items, creativetabs to recipetypes, recipe serializers menu and more coming!!

Usage Example

public class ModBlocks {

  // Simple Block registration
  public static final ObjectRegistries<Block> MY_BLOCK = ObjectRegistries.registerBlock(
  ResourceLocation.fromNamespaceAndPath("yourmoid", "my_block"),
    ()-> new Block(BlockBehaviour.Properties.of()));

    // It must stay empty, call it on related Init class(for fabric the one implementing ModInitializer for neoforge the class with the @Mod annotation)
    public static void init() {}

}

And initialize all our registris on our setup:

  • Fabric -> ModInitializer class
  • NeoForge -> @Mod annotation class
// Placeholder
public void init() {
  ModBlocks.init();

}

then if Neoforge do this:

private void onRegister(RegisterEvent event) {
  ObjectRegistries.createAll("yourmoid", event.getRegistry());
}

if Fabric inside ModInitializer, after all your init add this:

 ObjectRegistries.createAll("yourmoid");

Configs

CraftCoreLIB also provides a dedicated config system with a custom config screen compatible with other mods!!

Usage Example:

public class ModConfigs {


  //Defining all your configs, ConfigValue<> accept all type of configs, Integer, Boolean, Enum, String even your custom one


public static final ConfigValue<Boolean> check;
public static final ConfigValue<Integer> i;


//The config Builder where we build our configs, the constructur needs the modid and the env type: CLIENT, SERVER or COMMON
public static final ConfigBuilder BUILDER = new ConfigBuilder("mod_id", ConfigType.CLIENT);


//Inside a static method we register our configs


static {


//Category 1 creantion, we call start to start a category and end to close it, everything behind them is register into the first category
BUILDER.strart("category1");
//All the configs you desire to insert onto the 1° category should go there.
//The define method accept Integer, Boolean, Enum, String even you custom one!
this.check = BUILDER.comment("allows to check something")
    .defineBoolean("check", false);
BUILDER.end();




//Category 2 creation or how many you want
BUILDER.strart("category2");
this.i = BUILDER.comment("allows to check something")
    .defineInt("i",MINVALUE 0, MAXVALUE 10, DEFAULT VALUE 5);
BUILDER.end();


//It's also possible to create a main category with each sub category


BUILDER.start("main");
BUILDER.start("category3");
this.check = BUILDER.comment("allows to check something")
    .defineBoolean("check", false);


this.i = BUILDER.comment("allows to check something")
    .defineInt("i",MINVALUE 0, MAXVALUE 10, DEFAULT VALUE 5);




BUILDER.end();



BUILDER.end();








   }


public static void init() {
BUILDER.build();



}


}

Network Builder

It features:

  • Custom Packet creation and handling
  • Network Creation
  • Network Registration

Check more on GitHub Info

Report issues on DiscordGitHub

My Other Projects

Project description from CurseForge.

Pick your setup

CraftCoreLIB by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

8 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

CraftCoreLIB versions and loaders

4 of 35 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.