Harium

Harium

A general-purpose optimization mod that rewrites inefficient vanilla code for AI, redstone, entities, hoppers, and physics without changing game behavior

by
28.1K Downloads
forgemanagementoptimizationtechnology
Rent Server with this Mod

About this Mod

Harium | General Purpose Optimization


Smart Performance Through Intelligent Code Replacement


What Is Harium

Harium is a general-purpose optimization mod (based on Lithium) that rewrites inefficient vanilla code with faster, smarter implementations — without changing game behavior.

Same Game. Better Performance.

Harium targets the most CPU-intensive systems in Minecraft: entity processing, redstone, AI, hoppers, and physics — replacing slow algorithms with optimized alternatives that produce identical results.


Optimization Categories

Each category can be individually enabled or disabled.

  • AI & Pathfinding: Faster block type lookups, optimized POI searches, removed useless behaviors
  • Entity System: Section-based movement tracking, optimized collision detection, smarter item merging
  • Block & Redstone: Optimized redstone wire power calculations, BlockEntity sleeping for inactive tiles
  • Hopper & Inventory: Event-driven hopper logic with caching — hoppers only scan when inventories actually change
  • Memory Allocations: Eliminates unnecessary object creation in hot code paths using FastUtil collections
  • VoxelShapes: Specialized shape implementations for faster collision detection and ray tracing
  • Collections: Replaces standard Java collections with optimized FastUtil alternatives throughout

Key Technical Approaches

  • Event-Driven Architecture: Block sections notify listeners only when changes occur, instead of polling every tick
  • Caching Layers: Multiple levels of caching for block states, entity positions, and inventory contents
  • Smart Iteration: Chunk-ordered entity iteration for better CPU cache locality and early termination
  • Reduced Locking: Array-based data tracker entries instead of synchronized maps

Fork Information

Harium is a fork of Lithium by jellysquid3.

Compatible: Designed to be fully compatible with vanilla behavior. No gameplay changes.

Credits & Support

Original Lithium created by jellysquid3 and maintained by the community.

Harium extends the optimization coverage with additional improvements.


Join the Community

Get help and updates on our Discord.

JOIN DISCORD

Harium - Maintained by Hari - High Performance Minecraft

Available Versions

2.0release
MC 1.20.1forge
May 11, 2026

How to Install Harium on Your Server

1

Order Server

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

2

Set forge Loader

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

3

Install Mod

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

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.1

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Harium server crashes on startup – what to do?

Most common cause: wrong forge 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 (1.20.1). You can switch loaders with one click in the panel.

Is Harium compatible with forge?

Harium officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Harium – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Harium 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 Harium 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 Lesser General Public License v3.0 only
Server-side
Optional

Supported Versions

1.20.1