Skip to content

An all-in-one optimization module dedicated to optimizing client-side rendering and server-side stability and fluency.

License

Notifications You must be signed in to change notification settings

FluorescentLava/Tritium

 
 

Repository files navigation

Tritium

Tritium Logo

An all-in-one optimization mod dedicated to improving client-side rendering performance and server-side stability. This project is actively under development. Track progress at the TODO List.

Features

  • [All Versions] Fast Language Switching: Dramatically speeds up language switching by intercepting resource bundle reloading
  • [Forge Only] Fast Event System: Replaces generated classes with lambda constructors to accelerate event listener construction
  • [All Versions] Leaf Culling: Ports OptiFine's smart foliage rendering options
  • [All Versions] Entity Stacking Optimization: Merges nearby dropped items and experience orbs when entity density is high, similar to Spigot's optimization
  • [All Versions] Chest Rendering Optimization: Replaces dynamic chest models with static block geometry (removes opening animations for better performance)
  • [All Versions] Distant Entity Tick Reduction: Stops ticking entities and fluids that are far from the player
  • [All Versions] Dynamic FPS: Automatically reduces framerate when the game window is unfocused (1 FPS) or minimized (pauses rendering)
  • [All Versions] Memory Leak Fixes: Resolves various memory leaks that could cause crashes during extended gameplay
  • [All Versions] GL Error Suppression: Eliminates spurious GL error log spam
  • [All Versions] GPU Plus: Fixes video memory leaks and introduces new OpenGL 4+ features
  • [Forge Only] Asynchronous World Saving: Makes world saving asynchronous to significantly improve save performance
  • [Forge Only] Tech Mod Optimization: Improves performance of technical mods (e.g., GregTech, SFM, AE2), especially beneficial for tech-focused modpacks like ATM9
  • [Select Versions] Vanilla Bug Fixes: Fixes vanilla bugs and backports fixes from newer versions

Supported Minecraft Versions

Mod Loader Supported Versions
NeoForge 1.20.1, 1.21, 1.21.1, 1.21.6, 1.21.7, 1.21.8
Forge 1.19, 1.19.1, 1.19.2, 1.20, 1.20.1, 1.21, 1.21.1
Fabric 1.19, 1.19.1, 1.19.2, 1.20, 1.20.1, 1.21, 1.21.1, 1.21.6, 1.21.7, 1.21.8
Quilt 1.19, 1.19.1, 1.19.2, 1.20, 1.20.1, 1.21

Note: Available features vary by Minecraft version.

Update Policy: NeoForge and Fabric versions will be updated to support future Minecraft releases. Forge support will remain at 1.20.1.

Dependencies

Install the required dependencies for your mod loader before installing Tritium:

Mod Loader Required Dependencies
NeoForge Cloth Config
Forge Cloth Config
Fabric Cloth Config, ModMenu
Quilt Cloth Config, ModMenu, QFAPI

Download

For Players and Modpack Authors: Download the stable release

For Early Adopters and Developers: Download development builds from GitHub Actions

Development

To set up a development environment:

  1. Clone the repository:

    git clone https://github.com/CraftAmethyst/Tritium.git
  2. Open the project folder in IntelliJ IDEA:

    • Right-click the folder and select Open Folder as IntelliJ IDEA Project
    • IDEA will automatically configure the workspace and sync Gradle dependencies
  3. Build the project:

    gradle clean jarJar build

    The compiled JAR file will be located in build/libs

Bug Reports

If you encounter bugs or unexpected behavior, please submit an Issue with:

  • A clear description of the problem
  • Crash logs (if applicable)
  • Steps to reproduce the issue

Contributing

Contributions are welcome! If you have ideas for improvements or new features, feel free to submit a pull request.

If you find this project helpful, please consider starring the repository. Your support is greatly appreciated!

Contributors

About

An all-in-one optimization module dedicated to optimizing client-side rendering and server-side stability and fluency.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%