COWMODSКаталог модов

Hibernate MC (Formerly Hibernate Fabric)

Lets your Minecraft Fabric or NeoForge server snooze when idle, slashing CPU usage without missing a block!

Автор: VoxelBill2,9 тыс.12обновлён 16 окт. 2026 г.
УправлениеОптимизация

Описание

A Minecraft grass block inside an ice block representing the minecraft server hibernating.

Hibernate MC

Lets your Minecraft Fabric or NeoForge server snooze when idle, slashing CPU usage without missing a block!


Download from:

CurseForge Modrinth Codeberg Releases

Supported loaders:

Fabric NeoForge

📖 About

Hibernate MC is a lightweight tool that automatically puts your Minecraft Fabric or NeoForge server to sleep when no players are online. By reducing CPU usage during idle times, it helps save server resources, lowers your electricity bill, and makes your server more eco-friendly. It's a simple way to keep your Minecraft world running smoothly without wasting power when it's not needed.

Hibernate MC can also be used in singleplayer. When used in singleplayer, you can use the /hibernate commands (Ops only) and the entity removal feature works if enableMemoryOptimization is enabled in the config. No other features work in singleplayer as they only function when no players are online which can't happen in singleplayer.

📦 Dependencies

For Fabric:

Fabric API

For NeoForge:

N/A

🎮 Install & Play

Installing Hibernate MC is easy:

  1. Download the latest version for your loader and Minecraft version here.
  2. Put the downloaded jar file in to your mods folder.
  3. Launch Minecraft and play with the mod.

If installing on a server, don't forget to set pause-when-empty-seconds to 0 in your server.properties file to disable the vanilla hibernation system.

📜 Support Policy

The project supports the Minecraft version for which the mod is initially developed for, along with the next two major Minecraft versions. Versions released prior to the initial supported version are not supported.

Once a Minecraft version falls outside the three-version active support window, it enters Bug-Fixes-Only support for the duration of the following major version. During this period, only critical or game-breaking issues directly related to the project will be addressed. New features, enhancements, and non-critical changes will not be backported to versions in this stage.

Once a version leaves Bug-Fixes-Only support, it becomes Unsupported. Unsupported versions will receive no further updates, fixes, or compatibility changes.

Minecraft versionSupported status
26.3Supported
26.2Supported
26.1Supported
1.21.11Bugs Only
1.21.9Unsupported

📝 Config

The config file can be found at /config/hibernate_mc.json from the root of the .minecraft folder or your server folder.

⚙️ Options

See options

Basic Settings

SettingDefaultDescription
startEnabledtrueWhether hibernation activates automatically when server starts with no players
ticksToSkip400Number of ticks to process before applying sleep during hibernation
permissionLevel2Required permission level to use hibernation commands (0=all, 4=owner)
sleepTimeMs75Milliseconds to sleep between tick processing cycles

Memory Optimization

SettingDefaultDescription
enableMemoryOptimizationtrueEnable memory cleanup during hibernation
memoryCleanupIntervalSeconds30How often to run memory cleanup routines
memoryThresholdPercent80.0Memory usage percentage that triggers cleanup
forceGarbageCollectiontrueForce Java garbage collection during hibernation
gcIntervalSeconds30Minimum time between garbage collection runs
saveBeforeHibernationtrueSave world data before entering hibernation
removeEntitiesitem, firework_rocket, arrow, experience_orbList of entities to remove during hibernation (ignores entities with custom names)
droppedItemMaxAgeSeconds300Age in seconds after which items are removed (5 minutes)
logMemoryInfofalseLog memory usage and garbage collector information to console

CPU Optimization

SettingDefaultDescription
aggressiveCpuSavingtrueEnable more aggressive CPU saving measures
minSleepInterval1500Minimum time in milliseconds between sleep cycles
highLoadSleepMultiplier1.5Multiplier for sleep time when system load is high
yieldInterval8How often to yield CPU to other threads (every N ticks)

Gamerule Values When The Servers Awake

SettingDefaultDescription
advance_timetrueThe value to set the gamerule advance_time to when coming out of hibernation
advance_weathertrueThe value to set the gamerule advance_weather to when coming out of hibernation
random_tick_speed3The value to set the gamerule random_tick_speed to when coming out of hibernation
spawn_mobstrueThe value to set the gamerule spawn_mobs to when coming out of hibernation
fire_spread_radius_around_player128The value to set the gamerule fire_spread_radius_around_player to when coming out of hibernation

Gamerule Values When The Servers Hibernating

SettingDefaultDescription
advance_timefalseThe value to set the gamerule advance_time to when going into hibernation
advance_weatherfalseThe value to set the gamerule advance_weather to when going into hibernation
random_tick_speed0The value to set the gamerule random_tick_speed to when going into hibernation
spawn_mobsfalseThe value to set the gamerule spawn_mobs to when going into hibernation
fire_spread_radius_around_player0The value to set the gamerule fire_spread_radius_around_player to when going into hibernation

👨‍💻 Developing

Are you a developer and want to develop for this mod?

Click to get started.
To get a local copy up and running, follow these simple steps.

🧰 Prerequisites

Ensure you have the following installed on your machine:

  • Java Development Kit (JDK): Version 25 or higher.
  • Gradle: Version 9.7.1 or higher.
  • Minecraft: Version 26.3

🛠️ Build

  1. Clone the repository
git clone https://codeberg.org/VoxelBill/hibernate-mc.git
  1. Navigate to the project directory
cd hibernate-mc
  1. Build the project with Gradle
./gradlew clean build

You can find the built mod at hibernate-mc/<loader>/build/libs/hibernate_mc-<loader>-x.x.x+mc2x.x.jar.

⚖️ License

Distributed under the GNU Lesser General Public License v3.0 only (LGPL-3.0-only).

This project is a fork of Hibernateforge which was distributed under the European Union Public License v1.2 (EUPL-1.2). Relicensing has been done in accordance with the compatibility clause of the EUPL (Article 5).

See LICENSE for more information.

Последние версии

Все версии →
release

Hibernate MC (Fabric) 1.3.0 for Minecraft 26.3

1.3.0+mc26.3
16 окт. 2026 г.98Minecraft: 26.3fabric
Скачать
Что нового
**Changes**: * Moved Hibernate Fabric to a multiloader mod setup to officially support NeoForge! ([#15](https://codeberg.org/VoxelBill/hibernate-mc/issues/15)) * Renamed the mod from **Hibernate Fabric** to **Hibernate MC** as fabric isn't the only supported loader anymore. * Added extra checks to prevent multiplayer only systems from trying to run in singleplayer. * Fixed `Memory Optimization` status from the `/hibernate status` command showing as `ACTIVE` in singleplayer even though its not active. * Clean up some code.
release

Hibernate MC (NeoForge) 1.3.0 for Minecraft 26.3

1.3.0+mc26.3
16 окт. 2026 г.26Minecraft: 26.3neoforge
Скачать
Что нового
**Changes**: * Moved Hibernate Fabric to a multiloader mod setup to officially support NeoForge! ([#15](https://codeberg.org/VoxelBill/hibernate-mc/issues/15)) * Renamed the mod from **Hibernate Fabric** to **Hibernate MC** as fabric isn't the only supported loader anymore. * Added extra checks to prevent multiplayer only systems from trying to run in singleplayer. * Fixed `Memory Optimization` status from the `/hibernate status` command showing as `ACTIVE` in singleplayer even though its not active. * Clean up some code.
release

Hibernate MC (Fabric) 1.3.0 for Minecraft 26.2

1.3.0+mc26.2
16 окт. 2026 г.34Minecraft: 26.2fabric
Скачать
Что нового
**Changes**: * Moved Hibernate Fabric to a multiloader mod setup to officially support NeoForge! ([#15](https://codeberg.org/VoxelBill/hibernate-mc/issues/15)) * Renamed the mod from **Hibernate Fabric** to **Hibernate MC** as fabric isn't the only supported loader anymore. * Added extra checks to prevent multiplayer only systems from trying to run in singleplayer. * Fixed `Memory Optimization` status from the `/hibernate status` command showing as `ACTIVE` in singleplayer even though its not active. * Clean up some code.
release

Hibernate MC (NeoForge) 1.3.0 for Minecraft 26.2

1.3.0+mc26.2
16 окт. 2026 г.14Minecraft: 26.2neoforge
Скачать
Что нового
**Changes**: * Moved Hibernate Fabric to a multiloader mod setup to officially support NeoForge! ([#15](https://codeberg.org/VoxelBill/hibernate-mc/issues/15)) * Renamed the mod from **Hibernate Fabric** to **Hibernate MC** as fabric isn't the only supported loader anymore. * Added extra checks to prevent multiplayer only systems from trying to run in singleplayer. * Fixed `Memory Optimization` status from the `/hibernate status` command showing as `ACTIVE` in singleplayer even though its not active. * Clean up some code.
release

Hibernate MC (Fabric) 1.3.0 for Minecraft 26.1

1.3.0+mc26.1
16 окт. 2026 г.14Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
Что нового
**Changes**: * Moved Hibernate Fabric to a multiloader mod setup to officially support NeoForge! ([#15](https://codeberg.org/VoxelBill/hibernate-mc/issues/15)) * Renamed the mod from **Hibernate Fabric** to **Hibernate MC** as fabric isn't the only supported loader anymore. * Added extra checks to prevent multiplayer only systems from trying to run in singleplayer. * Fixed `Memory Optimization` status from the `/hibernate status` command showing as `ACTIVE` in singleplayer even though its not active. * Clean up some code. This version is also compatible with 26.1.1 and 26.1.2.
release

Hibernate MC (NeoForge) 1.3.0 for Minecraft 26.1

1.3.0+mc26.1
16 окт. 2026 г.14Minecraft: 26.1, 26.1.1, 26.1.2neoforge
Скачать
Что нового
**Changes**: * Moved Hibernate Fabric to a multiloader mod setup to officially support NeoForge! ([#15](https://codeberg.org/VoxelBill/hibernate-mc/issues/15)) * Renamed the mod from **Hibernate Fabric** to **Hibernate MC** as fabric isn't the only supported loader anymore. * Added extra checks to prevent multiplayer only systems from trying to run in singleplayer. * Fixed `Memory Optimization` status from the `/hibernate status` command showing as `ACTIVE` in singleplayer even though its not active. * Clean up some code. This version is also compatible with 26.1.1 and 26.1.2.
release

Hibernate Fabric 1.2.1 for Minecraft 26.3

1.2.1+mc26.3
14 окт. 2026 г.36Minecraft: 26.3fabric
Скачать
Что нового
**Changes**: * Fixed [#16](https://codeberg.org/VoxelBill/hibernate-fabric/issues/16) - The `fire_spread_radius_around_player` gamerule in `restoreGameRulesAs` will now correctly preserve the user set value when upgraded to `awakeGameRules`.
release

Hibernate Fabric 1.2.1 for Minecraft 26.2

1.2.1+mc26.2
14 окт. 2026 г.16Minecraft: 26.2fabric
Скачать
Что нового
**Changes**: * Fixed [#16](https://codeberg.org/VoxelBill/hibernate-fabric/issues/16) - The `fire_spread_radius_around_player` gamerule in `restoreGameRulesAs` will now correctly preserve the user set value when upgraded to `awakeGameRules`.
release

Hibernate Fabric 1.2.1 for Minecraft 26.1

1.2.1+mc26.1
14 окт. 2026 г.12Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
Что нового
**Changes**: * Fixed [#16](https://codeberg.org/VoxelBill/hibernate-fabric/issues/16) - The `fire_spread_radius_around_player` gamerule in `restoreGameRulesAs` will now correctly preserve the user set value when upgraded to `awakeGameRules`. This version is also compatible with 26.1.1 and 26.1.2.
release

Hibernate Fabric 1.2.1 for Minecraft 1.21.11

1.2.1+mc1.21.11
14 окт. 2026 г.26Minecraft: 1.21.11fabric
Скачать
Что нового
**Changes**: * Fixed [#16](https://codeberg.org/VoxelBill/hibernate-fabric/issues/16) - The `fire_spread_radius_around_player` gamerule in `restoreGameRulesAs` will now correctly preserve the user set value when upgraded to `awakeGameRules`.