Home›Java›Mods›Cores
Cores
ModsJava

Cores

Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.

by AnMao · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.11 · NeoForge⬇ Download for 1.21.10 · NeoForge⬇ Download for 1.21.9 · NeoForge⬇ Download for 1.21.8 · NeoForge⬇ Download for 1.21.7 · NeoForge⬇ Download for 1.21.5 · NeoForge⬇ Download for 1.21.4 · NeoForge⬇ Download for 1.21.2–1.21.3 · NeoForge⬇ Download for 1.21.1 · NeoForge⬇ Download for 1.21 · NeoForge⬇ Download for 1.20.6 · NeoForge⬇ Download for 1.20.1 · NeoForge⬇ Download for 1.21.11 · Forge⬇ Download for 1.21.10 · Forge⬇ Download for 1.21.8 · Forge⬇ Download for 1.21.1 · Forge⬇ Download for 1.21 · Forge⬇ Download for 1.20.6 · Forge⬇ Download for 1.20.4 · Forge⬇ Download for 1.20.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Cores

简体中文

This mod has a built-in Core library.

A library mod developed for Minecraft mod development. It packages numerous frequently used, repetitive code blocks and offers several practical features.

Player Features

Developer Features

- **Color Schemes** : When using this mod's `Screen` or certain rendering-related code, you can customize the color palette by changing the color scheme (as shown in the images below). Press the **Home** key to open the configuration interface: ![Home Screen](https://github.com/An-Mao/Cores/blob/main/image/home_screen.png?raw=true) Select a color scheme: ![Select Color Scheme](https://github.com/An-Mao/Cores/blob/main/image/home_screen_select_color_scheme.png?raw=true) Save and view the results: ![Amber](https://github.com/An-Mao/Cores/blob/main/image/home_screen_change_amber.png?raw=true) ![Sunset](https://github.com/An-Mao/Cores/blob/main/image/home_screen_change_sunset.png?raw=true) ![Teal](https://github.com/An-Mao/Cores/blob/main/image/home_screen_change_teal.png?raw=true) ![Twilight](https://github.com/An-Mao/Cores/blob/main/image/home_screen_change_twilight.png?raw=true) - **Network Listening** : Listens on port `4444` and returns the registered content when accessed by players.
package dev.anye.mc.cores.am.listen;
// For detailed code, please check the dev.anye.mc.cores.am.listen package

// Here is an ImageListen instance  
public class ImageListen extends Listen {

    protected ImageListen() {
        super("assets/cores/html/image/",// Resource path (optional). If provided, files under this path will be automatically loaded upon access.
                "image",// Registration path, used to access this instance (e.g., 127.0.0.1:4444/image/index.html)
                300// Shutdown timeout (seconds). Closes this listener after a period of inactivity.
        );
    }
    // This method has a default implementation that dispatches POST and GET requests to their respective handlers; you can also override it to implement your own logic.
    public void handle(HttpExchange exchange){}
}

// How to register
public class ListenRegister {
    // Get registry
    public static final Register<Listen> LISTEN_REGISTER = new Register<>(Cores.MOD_ID, "listen", builder -> builder.sync(false));
    // Register instances
    public static final DeferredHolder<Listen,ImageListen> IMAGE_LISTEN = LISTEN_REGISTER.register("image", ImageListen::new);
    //public static final DeferredHolder<Listen,ExampleListen> EXAMPLE_LISTEN = LISTEN_REGISTER.register("example", ExampleListen::new);

    // Call this method during mod initialization
    public static void register(IEventBus eventBus){
        LISTEN_REGISTER.register(eventBus);
    }


    // Assuming this is your Mod initialization function (constructor)
    public Cores(IEventBus modEventBus, ModContainer modContainer) {
        ListenRegister.register(modEventBus);
    }
}

Support status by version

B : Bug fixes only
X : No further updates
U : Updates
L :Low-frequency updates
Trend : U -> L -> B -> X
Version Forge Neoforge Fabric
1.20.1 B B X
1.20.2 - 1.21.0 X X X
1.21.1 B B X
1.21.2-26.0 X X X
26.1 L L X
26.2 U U X

Any questions can be asked in github or contacted as below:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more