Описание
Harium | General Purpose OptimizationSmart Performance Through Intelligent Code ReplacementWhat Is HariumHarium 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 CategoriesEach category can be individually enabled or disabled.AI & Pathfinding: Faster block type lookups, optimized POI searches, removed useless behaviorsEntity System: Section-based movement tracking, optimized collision detection, smarter item mergingBlock & Redstone: Optimized redstone wire power calculations, BlockEntity sleeping for inactive tilesHopper & Inventory: Event-driven hopper logic with caching — hoppers only scan when inventories actually changeMemory Allocations: Eliminates unnecessary object creation in hot code paths using FastUtil collectionsVoxelShapes: Specialized shape implementations for faster collision detection and ray tracingCollections: Replaces standard Java collections with optimized FastUtil alternatives throughoutKey Technical ApproachesEvent-Driven Architecture: Block sections notify listeners only when changes occur, instead of polling every tickCaching Layers: Multiple levels of caching for block states, entity positions, and inventory contentsSmart Iteration: Chunk-ordered entity iteration for better CPU cache locality and early terminationReduced Locking: Array-based data tracker entries instead of synchronized mapsFork InformationHarium is a fork of Lithium by jellysquid3.Compatible: Designed to be fully compatible with vanilla behavior. No gameplay changes.Credits & SupportOriginal Lithium created by jellysquid3 and maintained by the community.Harium extends the optimization coverage with additional improvements.Join the CommunityGet help and updates on our Discord.JOIN DISCORDHarium - Maintained by Hari - High Performance Minecraft