Back to mods
Gnetum project artwork

Modrinth · Minecraft mod

Gnetum

Distribute HUD updates over multiple frames to improve performance

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Gnetum release should I use?

Updated 10 days ago
Latest stable file 2.5.0+1.20.1-forge
Game version 1.20.1
Loader Forge

Gnetum 2.5.0+1.20.1-forge targets 1.20.1 with Forge. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

Is Gnetum required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Gnetum 2.5.0+1.20.1-forge need?

2.5.0+1.20.1-forge. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Gnetum without breaking your instance.

Built for Gnetum 2.5.0+1.20.1-forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.5.0+1.20.1-forge. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.5.0+1.20.1-forge. It opens that exact file at the source.

About this project

What does Gnetum add?

Gnetum

A Minecraft mod that improves performance by distributing HUD updates over multiple frames.

Overview

Gnetum divides a full HUD update into multiple "passes." Only one pass is rendered each frame, reducing the time taken on HUD updates and improving FPS.

Based on the rendering time of each element, Gnetum automatically distributes their updates over multiple frames, improving both the average FPS and the minimum.

Technical explanations

The idea behind Gnetum is to reduce the framerate of the HUD, which is not cheap to render and does not really change often, to improve the overall performance of the game, in a way that improves both the average and the minimum FPS. To achieve this:

  • Gnetum employs two framebuffers, called a back framebuffer and a front framebuffer, respectively
  • Each frame will render a "pass", that is, a (customizable) portion of the complete HUD, to the back framebuffer
  • If the number of passes is set to 4, for example, a full HUD update is distributed over 4 frames, saving a lot of draw calls every frame and improving FPS
  • After all passes finish rendering, the back framebuffer is "swapped" with the front framebuffer
  • Each frame also renders the front framebuffer, which contains a texture of the full HUD

There is also an HUD FPS limiter that defines the maximum FPS of the HUD.

Configuration

Starting from 4.0.0, integration is implemented with Sodium Config API. The configuration can be accessed from the Video Screen, allowing for adjustment of:

  • the number of passes
  • maximum HUD FPS
  • enabling/disabling caching for each element

Compatibility

1.20.1, 1.21.1 & 1.21.11

✔️ ImmediatelyFast: fully compatible and recommended.

1.12.2

⚠️ OptiFine: make sure "Fast Render" is disabled (this mod would do nothing otherwise.)

⚠️ StellarCore: make sure their HUD Caching feature is disabled (if you are unsure how to disable it you can ignore this: it's disabled by default.)

Credits

This mod is inspired by the HUDCaching mod by Moulberry.

Project description from Modrinth.

Pick your setup

Gnetum by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

24 available setups

Showing the newest 12 of 18 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Gnetum versions and loaders

100 of 100 releases match

Looking for an older file? The official Modrinth project page is in Resources.