Cerulean Fork

Cerulean Fork

Advancements optimization mod, updated fork of Icterine / Cerulean with added features

by
900 Downloads
fabricneoforgequiltmanagementoptimization
Rent Server with this Mod

Screenshots

Comparation

About this Mod

Cerulean
This is fork of Cerulan which is actually a fork of Icterine. Original maintainer didn't update it for a year, so i updated to modern versions as a fork of Cerulean under same name.

Cerulean is a mod that optimizes Minecraft's advancement checking system, specifically the laggy InventoryChangeTrigger, which can cause heavy lag in modpacks with lots of modded advancements. Cerulean is fork of Icterine, updated to 1.21.1 by Txni with additional features.

Aside from being updated to 1.21.1, Cerulean adds an option to only process advancements every few ticks, which is the strategy used by mods like Achievements Optimizer (which does not work with the original Icterine). This option is handled in a way that ensures the first time an item is picked up per player, it is always processed for achievements--preventing cases where advancements would stall until you moved items around.

Summary from original mod:

  • Optimizes triggering advancements for obtaining items;
  • Might break parity with vanilla, but doesn't affect vanilla advancements and shouldn't affect the vast majority of mods/datapacks;
  • Even if it does affect something, advancement still should be obtainable by just dropping and picking up one of required items;
  • Currently, there are no known incompatibilities or issues;
  • Every injection into vanilla code can be disabled in config file.
  • All changes are server-side.

Results

Live test performed on dedicated server with 3 active players online, running custom Forge modpack with over 200 mods and BlazeandCave's Advancements Pack, which adds over 950 advancements. Stats collected using Spark for one hour.

With Icterine, InventoryChangeTrigger executes almost 2.5 times faster (as of version 1.1.0), spending about 7.5% of the tick time instead of 20%.

Stats comparison for Icterine 1.0.0 (~2 times faster):

Statistic

How vanilla InventoryChangeTrigger works

  1. When the game detects that stack in player inventory has changed, it calls InventoryChangeTrigger for it. This includes picking up items, dropping items, dropping whole stacks, moving items in your inventory.
    1. Also, when you open a container (chest, furnace, etc.), game thinks that all the slots in your inventory changed, and calls trigger for all of them, including empty slots.
  2. InventoryChangeTrigger counts empty, non-empty and completely filled slots in your inventory. This information could be used in advancement triggers, but is not used in vanilla.
  3. InventoryChangeTrigger goes over registered advancement criteria.
  4. If criterion has slot count requirements and they don't match values from step 2, or if criterion doesn't have item requirements, criterion is skipped.
  5. If criterion has only one item requirement, changed stack is checked against this requirement.
  6. If criterion has multiple items requirements (e.g., "Cover me with debris" requires having full netherite armor set), every item stack in the inventory is checked against every requirement (but fulfilled requirements get removed and are no longer checked).
  7. Item matching, especially against tag, is very heavy. But the game first checks if the player's item type matches the one from the requirement, and only then checks other parameters like count, enchants and other NBT data.

How Icterine's optimizations work

  1. In step 1, do not call InventoryChangeTrigger when you drop stacks or move them out of your inventory (e.g. to chest). This is controlled by the ignore_triggers_for_emptied_stacks parameter in config file.
  2. Similarly, do not call InventoryChangeTrigger if stack change was caused by decreasing stack but not emptying it (e.g. player dropped single item from the full stack). Controlled by ignore_triggers_for_decreased_stacks.
  3. And also do not call InventoryChangeTrigger if stack size increased, but hasn't passed threshold for any advancement. For example, dirt stack size increased from 52 to 53, but there's no advancement for getting 53 dirt in your modpack. Controlled by optimize_triggers_for_increased_stacks.
  4. Modify how game checks for changed items when player opens container screen, so it doesn't treat all the stack as changed the second you open anything. Controlled by initialize_inventory_last_slots.
  5. In step 6, firstly check if changed slot matches any requirement, and only then check other stack in the inventory. Controlled by optimize_multiple_predicate_trigger.
  6. In step 7, compare the stack count first to avoid unneeded tag matching. Also use previous stack count to avoid even more unneeded matching. Controlled by check_count_before_item_predicate_match.

Supported versions

Icterine v1.2.0 works with Minecraft Fabric/Quilt from 1.18.2 to 1.19.4, and Forge from 1.18.2 to 1.19.2 (forge moment).

Icterine v1.3.0 has the same features as v1.2.0 and works with Fabric/Quilt 1.20 - 1.20.4, Forge 1.19.3 - 1.20.4, and NeoForge 1.20.1 - 1.20.4.

Use filter on the versions page to choose the right file.

If you need port to any other version, please open an issue, or ask on Discord server.

Available Versions

Cerulean Fork 1.0.0release
MC 26.1, 26.1.1, 26.1.2fabric, quilt
April 7, 2026
Cerulean Fork 1.0.0release
MC 26.1, 26.1.1, 26.1.2neoforge
April 7, 2026
Cerulean Fork 1.0.0release
MC 1.21.11neoforge
April 7, 2026
Cerulean Fork 1.0.0release
MC 1.21.10neoforge
April 7, 2026
Cerulean Fork 1.0.0release
MC 1.21.9neoforge
April 7, 2026

How to Install Cerulean Fork on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Cerulean Fork". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricneoforgequilt

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+8 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Cerulean Fork server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Cerulean Fork compatible with fabric and neoforge and quilt?

Cerulean Fork officially supports fabric, neoforge, quilt for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Cerulean Fork – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Cerulean Fork consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Cerulean Fork with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 or later
Server-side
Required

Supported Versions

26.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.61.21.5+1 more