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

MidnightLib

Common library providing a lightweight configuration system

Загрузки
22.3M
Подписчики
2K
Обновлён
17 июня 2026 г.
Лицензия
MIT

Опубликован 1 июня 2021 г.

MidnightLib is a lightweight library that provides common utils and a configuration system for mods.

Mod developers are allowed and encouraged to bundle it with their mods via Jar-in-Jar.
Every feature can be toggled in the library's own config screen/file.

Example configuration screen

Visit the new Wiki to get started now.

Центр версий

9 из 150
  • Релиз61 КБ
  • Релиз61 КБ
  • Релиз61 КБ
  • Релиз61 КБ
  • Релиз60 КБ
  • Релиз62 КБ
  • Релиз61 КБ
  • Релиз70 КБ
  • Релиз70 КБ

Ченджлог

1.9.3+26.2-neoforgeРелиз26.2 · 17 июня 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+26.2-fabricРелиз26.2 · 17 июня 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+26.2-pre-3-fabricРелиз26.2-pre-3 · 4 июня 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+26.1-neoforgeРелиз26.1, 26.1.1, 26.1.2 · 2 мая 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+26.1-fabricРелиз26.1, 26.1.1, 26.1.2 · 2 мая 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+1.21.5-neoforgeРелиз1.21.4, 1.21.5 · 2 мая 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+1.21.8-fabricРелиз1.21.6, 1.21.7, 1.21.8 · 2 мая 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases
1.9.3+1.21.8-neoforgeРелиз1.21.6, 1.21.7, 1.21.8 · 2 мая 2026 г.

MidnightLib v1.9.3

  • Dynamic comment formatting (tysm @Jaffe2718)
    • Modders can now provide a list of Strings to format the text with – useful for dynamic stats
  • Fix NullPointerException while loading @Condition from the field behind #129 (by @Jaffe2718)
  • Updated Tatar translations (by @Amirhan-Taipovjan-Greatest-I)
  • Updated Argentine Spanish translations (by @Texaliuz)

MidnightLib v1.9.2

  • Add support for using StringRepresentable to translate enums

MidnightLib v1.9.1

  • Fix crash when loading existing main config on NeoForge

MidnightLib v1.9.0

  • Setup a multiversion build environment
    • MidnightLib will now always be up-to-date on all relevant versions of Minecraft
      (Fabric/Forge 1.20.1; Fabric/NeoForge 1.21.1, 1.21.5, 1.21.8, 1.21.10)
    • Measures were taken to ensure this doesn't break mods targeting old MidnightLib versions.
      In case you still find a broken mod, please report it and tag the issue with 1.9.0.
  • New logo! This offers improved visibility on light themes and a more modern, fresh look.
  • Added JavaDocs to improve the developer experience.
    • To be able to view them, adjust your midnightlib gradle dependency by following the wiki.
  • Reduced jar size – now under 60KB again for Fabric builds :)
  • Migrate to Mojang mappings in preparation for upcoming non-obfuscated releases

Комментарии

Загружаем…