All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Cores

Cores

by anmao • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

  • Attribute Fix : Modifies the default, maximum, and minimum values of attributes. This can be adjusted via the configuration file.
  • Experience Fix : Modifies experience deduction. When deducting experience levels, it deducts the exact amount of experience points required to level up from level 0 to the target level, instead of using the vanilla calculation of (current level - target level) points. Both of the above features can be disabled via the configuration file.

Developer 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 Select a color scheme: Select Color Scheme Save and view the results: Amber Sunset Teal Twilight
  • 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_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);
}

}


</details>  


## 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                   |
|----------------------------------------|-----------------------------|-----------------------------|--------------------------|
| <font color=yellow>1.20.1</font>       | <font color=yellow>B</font> | <font color=yellow>B</font> | <font color=red>X</font> |
| <font color=red>1.20.2 - 1.21.0</font> | <font color=red>X</font>    | <font color=red>X</font>    | <font color=red>X</font> |
| <font color=yellow>1.21.1</font>       | <font color=yellow>B</font> | <font color=yellow>B</font> | <font color=red>X</font> |
| <font color=red>1.21.2-26.0</font>     | <font color=red>X</font>    | <font color=red>X</font>    | <font color=red>X</font> |
| <font color=blue>26.1</font>           | <font color=blue>L</font>   | <font color=blue>L</font>   | <font color=red>X</font> |
| **<font color=green>26.2</font>**      | <font color=green>U</font>  | <font color=green>U</font>  | <font color=red>X</font> |


Any questions can be asked in github or contacted as below:  
- [Telegram](https://url.anye.dev/tg)
- [Discord](https://url.anye.dev/discord)

How to Install Cores (Mod)

Cores by anmao is verified for Forge, Neoforge across Minecraft versions 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21, 1.21.1, 1.21.10, 1.21.11 (latest release: 26.3-2.0.6-26100600, file size: 334 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21, 1.21.1, 1.21.10, 1.21.11) and platform (Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Forge, Neoforge.
  3. Move the downloaded Cores file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Forge
1mo ago 1
26.3
Neoforge
1mo ago 1
26.3
Neoforge
1mo ago 1
26.3
Neoforge
1mo ago 1
26.2
Neoforge
2mo ago 1
26.1.1
Neoforge
2mo ago 1
26.2
Neoforge
3mo ago 1
26.2
Neoforge
3mo ago 1
26.2
Neoforge
3mo ago 1
1.20.1
Forge
4mo ago 1
1.21.1
Forge
4mo ago 1
1.21.1
Neoforge
4mo ago 1
1.20.1
Forge
4mo ago 1
26.2
Forge
4mo ago 1
26.1.x
Neoforge
5mo ago 1
26.1.x
Neoforge
5mo ago 1
26.1.x
Forge
5mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Neoforge
7mo ago 1
26.1.x
Forge
7mo ago 1
26.1.2
Neoforge
7mo ago 1
26.1.1
Neoforge
7mo ago 1
26.1.1
Neoforge
7mo ago 1
26.1.1
Neoforge
7mo ago 1
1.21.11
Neoforge
9mo ago 1
1.21.11
Forge
11mo ago 1
1.21.11
Neoforge
11mo ago 1
1.21.10
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.10
Forge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.10
Neoforge
last yr. 1
1.21.10
Neoforge
last yr. 1
1.21.9
Neoforge
last yr. 1
1.20.1
Forge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.8
Forge
last yr. 1
1.21.8
Neoforge
last yr. 1
1.21.7
Neoforge
last yr. 1
1.20.1
Forge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.21.5
Neoforge
last yr. 1
1.21.5
Neoforge
last yr. 1
1.21.1
Forge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.4
Neoforge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.1
Forge
last yr. 1
1.21.x
Neoforge
last yr. 1
1.21.1
Forge
last yr. 1
1.20.1
Forge Neoforge
last yr. 1
1.21
Forge
last yr. 1
1.21
Neoforge
last yr. 1
1.20.x
Forge
last yr. 1
Additional security measures have been added to network monitoring; this feature is now disabled by default, and the image file path is locked to the current game directory.
Please check GitHub for specific changes.
Optimize the code
Added JavaScript engine code.
Run with Nashorn when the graaljs mod is not present.
Add entity rendering mixin
Updated to the new version, the size is large because jarinjar is used, and the attachment contains the version without jarinjar.
Add a new feature, see the introduction for details.
Created a separate profile for mixin configuration
Cores Icon
Download Cores
Select game version
Select platform