Перейти к содержимому
Mineforgian

AudioShutdown

If you often have Minecraft running in the background you might have noticed that your pc cant go to sleep. That's because the audio engine requests your pc to stay awake. With this mod, the engine gets shutdown while you are not in a world!

Загрузки
10K
Подписчики
23
Обновлён
15 июля 2025 г.
Лицензия
MIT

Опубликован 25 декабря 2022 г.

AudioShutdown

If you often have Minecraft running in the background, you might have noticed that your pc cant go to sleep. That's because the audio engine requests your pc to stay awake. With this mod, the engine gets shutdown while you are not in a world and there is no audio playing!

This mod probably isn't for you if you just play minecraft casually. But for server owners, modders etc. keeping Minecraft open 24/7 isn't often that unusual. Minecraft's Audio Engine says to Windows that it should never put your pc to sleep because it's streaming audio even while you don't even hear ANYTHING.

When you are not in a World (or the game is paused) and if there is no audio playing (or the game is unfocused. Audio then stops completely regardless) the audio engine gets turned off. If audio gets played (e.g. main menu music (you might want to turn that off) or button presses) the audio engine gets turned on again.

You could pair this mod with a mod that disconnects you from worlds/servers after a certain period of inactivity to never worry about wasting that precious energy again.

Ченджлог

2.2.0Релиз1.21.7 · 15 июля 2025 г.

Added config option to allow for the pause screen on servers to also pause the audio engine (can be changed in audio-shutdown.json)

2.1.0Релиз1.21.7 · 15 июля 2025 г.
  • Works with 1.21.7 now
  • Fixes bug with shutting down the system while idling
2.0Релиз1.21.3, 1.21.4, 1.21.5 · 25 ноября 2023 г.
  • Restructured AudioShutdown
  • Implemented Audio pause. This should be faster and more efficient than shutting down the engine and has the same effect (your pc can go to sleep). If this is not supported by your system, we shut down the engine as usual. Create a GitHub issue if you want this to be toggleable.
  • If your master volume is 0, we shut down (or pause) the engine even when in game now.

Комментарии

Загружаем…