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

Better Narrator Error

Stop printing a huge error on the logs when the Narrator (flite) isn't found on Linux.

Загрузки
23K
Подписчики
3
Обновлён
28 марта 2025 г.
Лицензия
LGPL-3.0-only

Опубликован 28 марта 2025 г.

Stop printing a huge error on the logs when the Narrator fails to load on Linux.

The mod hides stacktraces and the path from the narrator error, reducing it by 98%¹

The mod also supports various properties:

  • minecraft.narrator - Set to false to completely disable the narrator, and so the error too (Default: true)
  • minecraft.narrator.error.hide_stacktrace - Removes stacktraces² from the logs (Default: true)
  • minecraft.narrator.error.hide_path - Removes the path from the error message (Default: true)
  • minecraft.narrator.error.replace_exception - Replaces the exception thrown to hide the supressed exceptions from the original one (Default: true)

The mod is also very small and stable, if a newer version is not listed, it is likely that it will still work

¹Calculated from the log printed on development env
²minecraft.narrator.error.hide_stacktrace only disables direct stack traces, the stacktrace for supressed exceptions will still show if minecraft.narrator.error.replace_exception is set to false

Комментарии

Загружаем…