ᴍɪɴᴇᴄʀᴀꜰᴛʀᴇꜱᴏᴜʀᴄᴇꜱ

SuperMartijn642's Config Lib

Modrinth

Config Lib makes dealing with config files just a bit easier.

34.8M downloads1.3K followersUpdated 1mo ago

1.1.8a-fabric-mc26.3 · MC 26.3 · Fabric, Quilt

View on Modrinth

Files

  • 1.1.8a-fabric-mc26.3

    release

    SuperMartijn642's Config Library 1.1.8a

    26.3fabricquilt

    2026-09-29 · 179.6K downloads

    supermartijn642configlib-1.1.8a-fabric-mc26.3.jar · 201 KB

  • 1.1.8a-fabric-mc26.2

    release

    SuperMartijn642's Config Library 1.1.8a

    26.2fabricquilt

    2026-09-29 · 75.7K downloads

    supermartijn642configlib-1.1.8a-fabric-mc26.2.jar · 201 KB

  • 1.1.8a-fabric-mc26.1

    release

    SuperMartijn642's Config Library 1.1.8a

    26.1.226.1.126.1fabricquilt

    2026-09-29 · 20.1K downloads

    supermartijn642configlib-1.1.8a-fabric-mc26.1.jar · 201 KB

  • 1.1.8a-forge-mc26.2

    release

    SuperMartijn642's Config Library 1.1.8a

    26.2forge

    2026-09-29 · 2.2K downloads

    supermartijn642configlib-1.1.8a-forge-mc26.2.jar · 201 KB

  • 1.1.8a-forge-mc26.1

    release

    SuperMartijn642's Config Library 1.1.8a

    26.1.226.1.126.1forge

    2026-09-29 · 1.5K downloads

    supermartijn642configlib-1.1.8a-forge-mc26.1.jar · 201 KB

  • 1.1.8-neoforge-mc26.3

    release

    SuperMartijn642's Config Library 1.1.8

    26.3neoforge

    2026-09-15 · 12.1K downloads

    supermartijn642configlib-1.1.8-neoforge-mc26.3.jar · 202 KB

  • 1.1.8-fabric-mc26.3

    release

    SuperMartijn642's Config Library 1.1.8

    26.3fabricquilt

    2026-09-15 · 42K downloads

    supermartijn642configlib-1.1.8-fabric-mc26.3.jar · 201 KB

  • 1.1.8a-neoforge-mc26.2

    release

    SuperMartijn642's Config Library 1.1.8a

    26.2neoforge

    2026-09-11 · 7.8K downloads

    supermartijn642configlib-1.1.8a-neoforge-mc26.2.jar · 202 KB

  • 1.1.8-fabric-mc26.2

    release

    SuperMartijn642's Config Library 1.1.8

    26.2fabricquilt

    2026-06-23 · 254.7K downloads

    supermartijn642configlib-1.1.8-fabric-mc26.2.jar · 201 KB

  • 1.1.8-fabric-mc26.1

    release

    SuperMartijn642's Config Library 1.1.8

    26.1.226.1.126.1fabricquilt

    2026-06-23 · 70.1K downloads

    supermartijn642configlib-1.1.8-fabric-mc26.1.jar · 201 KB

  • 1.1.8-forge-mc26.2

    release

    SuperMartijn642's Config Library 1.1.8

    26.2forge

    2026-06-23 · 8.7K downloads

    supermartijn642configlib-1.1.8-forge-mc26.2.jar · 201 KB

  • 1.1.8-forge-mc26.1

    release

    SuperMartijn642's Config Library 1.1.8

    26.1.226.1.126.1forge

    2026-06-23 · 6.1K downloads

    supermartijn642configlib-1.1.8-forge-mc26.1.jar · 201 KB

  • 1.1.8-neoforge-mc26.2

    release

    SuperMartijn642's Config Library 1.1.8

    26.2neoforge

    2026-06-23 · 12.1K downloads

    supermartijn642configlib-1.1.8-neoforge-mc26.2.jar · 202 KB

  • 1.1.8-neoforge-mc26.1

    release

    SuperMartijn642's Config Library 1.1.8

    26.1.226.1.126.1neoforge

    2026-06-23 · 12.8K downloads

    supermartijn642configlib-1.1.8-neoforge-mc26.1.jar · 202 KB

  • 1.1.8-neoforge-mc1.21.11

    release

    SuperMartijn642's Config Library 1.1.8

    1.21.11neoforge

    2025-12-25 · 29.8K downloads

    supermartijn642configlib-1.1.8-neoforge-mc1.21.11.jar · 202 KB

  • 1.1.8-fabric-mc1.21.11

    release

    SuperMartijn642's Config Library 1.1.8

    1.21.11fabricquilt

    2025-12-25 · 831.2K downloads

    supermartijn642configlib-1.1.8-fabric-mc1.21.11.jar · 201 KB

  • 1.1.8-forge-mc1.21.11

    release

    SuperMartijn642's Config Library 1.1.8

    1.21.11forge

    2025-12-25 · 27.3K downloads

    supermartijn642configlib-1.1.8-forge-mc1.21.11.jar · 203 KB

  • 1.1.8-neoforge-mc1.21.9

    release

    SuperMartijn642's Config Library 1.1.8

    1.21.101.21.9neoforge

    2025-10-03 · 39.4K downloads

    supermartijn642configlib-1.1.8-neoforge-mc1.21.9.jar · 202 KB

  • 1.1.8-forge-mc1.21.6

    release

    SuperMartijn642's Config Library 1.1.8

    1.21.101.21.91.21.81.21.7+1forge

    2025-06-30 · 47.7K downloads

    supermartijn642configlib-1.1.8-forge-mc1.21.6.jar · 203 KB

  • 1.1.8-neoforge-mc1.21

    release

    SuperMartijn642's Config Library 1.1.8

    1.21.81.21.71.21.61.21.5+5neoforge

    2024-07-19 · 1.7M downloads

    supermartijn642configlib-1.1.8-neoforge-mc1.21.jar · 203 KB

  • 1.1.8-neoforge-mc1.20.6

    release

    SuperMartijn642's Config Library 1.1.8

    1.20.61.20.5neoforge

    2024-07-19 · 1.8K downloads

    supermartijn642configlib-1.1.8-neoforge-mc1.20.6.jar · 203 KB

  • 1.1.8-fabric-mc1.21

    release

    SuperMartijn642's Config Lib 1.1.8

    1.21.101.21.91.21.81.21.7+7fabricquilt

    2024-07-19 · 9.9M downloads

    supermartijn642configlib-1.1.8-fabric-mc1.21.jar · 202 KB

  • 1.1.8-fabric-mc1.20.6

    release

    SuperMartijn642's Config Lib 1.1.8

    1.20.61.20.5fabricquilt

    2024-07-19 · 12.5K downloads

    supermartijn642configlib-1.1.8-fabric-mc1.20.6.jar · 202 KB

  • 1.1.8-forge-mc1.21

    release

    SuperMartijn642's Config Library 1.1.8

    1.21.71.21.61.21.51.21.4+4forge

    2024-07-19 · 81.6K downloads

    supermartijn642configlib-1.1.8-forge-mc1.21.jar · 203 KB

  • 1.1.8-forge-mc1.20.6

    release

    SuperMartijn642's Config Library 1.1.8

    1.20.61.20.5forge

    2024-07-19 · 3.4K downloads

    supermartijn642configlib-1.1.8-forge-mc1.20.6.jar · 203 KB

  • 1.1.8a-neoforge-mc1.20.4

    release

    SuperMartijn642's Config Library 1.1.8a

    1.20.4neoforge

    2024-02-04 · 7.8K downloads

    supermartijn642configlib-1.1.8a-neoforge-mc1.20.4.jar · 201 KB

  • 1.1.8-neoforge-mc1.20.4

    release

    SuperMartijn642's Config Library 1.1.8

    1.20.41.20.3neoforge

    2023-12-20 · 1.2K downloads

    supermartijn642configlib-1.1.8-neoforge-mc1.20.4.jar · 201 KB

  • 1.1.8a-fabric-mc1.20.2

    release

    SuperMartijn642's Config Lib 1.1.8a

    1.20.41.20.31.20.2fabricquilt

    2023-10-07 · 195.1K downloads

    supermartijn642configlib-1.1.8a-fabric-mc1.20.2.jar · 201 KB

  • 1.1.8a-fabric-mc1.20.1

    release

    SuperMartijn642's Config Lib 1.1.8a

    1.20.11.20fabricquilt

    2023-10-07 · 7.3M downloads

    supermartijn642configlib-1.1.8a-fabric-mc1.20.jar · 203 KB

  • 1.1.8a-fabric-mc1.19

    release

    SuperMartijn642's Config Lib 1.1.8a

    1.19.41.19.31.19.21.19.1+1fabricquilt

    2023-10-07 · 82.6K downloads

    supermartijn642configlib-1.1.8a-fabric-mc1.19.jar · 203 KB

  • 1.1.8a-fabric-mc1.18

    release

    SuperMartijn642's Config Lib 1.1.8a

    1.18.21.18.11.18fabricquilt

    2023-10-07 · 16.6K downloads

    supermartijn642configlib-1.1.8a-fabric-mc1.18.jar · 203 KB

  • 1.1.8-forge-mc1.20.2

    release

    SuperMartijn642's Config Library 1.1.8

    1.20.41.20.31.20.2forge

    2023-09-21 · 21.5K downloads

    supermartijn642configlib-1.1.8-forge-mc1.20.2.jar · 202 KB

  • 1.1.8-fabric-mc1.20.2

    release

    SuperMartijn642's Config Lib 1.1.8

    1.20.2fabricquilt

    2023-09-21 · 1.7K downloads

    supermartijn642configlib-1.1.8-fabric-mc1.20.jar · 201 KB

  • 1.1.8-fabric-mc1.20

    release

    SuperMartijn642's Config Lib 1.1.8

    1.20.11.20fabricquilt

    2023-08-21 · 39.4K downloads

    supermartijn642configlib-1.1.8-fabric-mc1.20.jar · 203 KB

  • 1.1.8-fabric-mc1.19

    release

    SuperMartijn642's Config Lib 1.1.8

    1.19.41.19.31.19.21.19.1+1fabricquilt

    2023-08-21 · 4.5K downloads

    supermartijn642configlib-1.1.8-fabric-mc1.19.jar · 203 KB

  • 1.1.8-fabric-mc1.18

    release

    SuperMartijn642's Config Lib 1.1.8

    1.18.21.18.11.18fabricquilt

    2023-08-21 · 1.1K downloads

    supermartijn642configlib-1.1.8-fabric-mc1.18.jar · 203 KB

  • 1.1.8-forge-mc1.20

    release

    SuperMartijn642's Config Library 1.1.8

    1.20.11.20forgeneoforge

    2023-08-21 · 11.2M downloads

    supermartijn642configlib-1.1.8-forge-mc1.20.jar · 202 KB

  • 1.1.8-forge-mc1.19

    release

    SuperMartijn642's Config Library 1.1.8

    1.19.41.19.31.19.21.19.1+1forgeneoforge

    2023-08-21 · 1.9M downloads

    supermartijn642configlib-1.1.8-forge-mc1.19.jar · 202 KB

  • 1.1.8-forge-mc1.18

    release

    SuperMartijn642's Config Library 1.1.8

    1.18.21.18.11.18forgeneoforge

    2023-08-21 · 168.9K downloads

    supermartijn642configlib-1.1.8-forge-mc1.18.jar · 202 KB

  • 1.1.8-forge-mc1.17

    release

    SuperMartijn642's Config Library 1.1.8

    1.17.11.17forgeneoforge

    2023-08-21 · 1.3K downloads

    supermartijn642configlib-1.1.8-forge-mc1.17.jar · 202 KB

  • 1.1.8-forge-mc1.16

    release

    SuperMartijn642's Config Library 1.1.8

    1.16.51.16.41.16.31.16.2+2forgeneoforge

    2023-08-21 · 145.1K downloads

    supermartijn642configlib-1.1.8-forge-mc1.16.jar · 201 KB

  • 1.1.8-forge-mc1.15

    release

    SuperMartijn642's Config Library 1.1.8

    1.15.21.15.11.15forgeneoforge

    2023-08-21 · 3.1K downloads

    supermartijn642configlib-1.1.8-forge-mc1.15.jar · 201 KB

  • 1.1.8-forge-mc1.14

    release

    SuperMartijn642's Config Library 1.1.8

    1.14.41.14.31.14.21.14.1+1forgeneoforge

    2023-08-21 · 3.3K downloads

    supermartijn642configlib-1.1.8-forge-mc1.14.jar · 201 KB

  • 1.1.8-forge-mc1.12

    release

    SuperMartijn642's Config Library 1.1.8

    1.12.21.12.11.12forgeneoforge

    2023-08-21 · 170.3K downloads

    supermartijn642configlib-1.1.8-forge-mc1.12.jar · 200 KB

  • 1.1.7-fabric-mc1.20

    release

    SuperMartijn642's Config Lib 1.1.7

    1.20.11.20fabricquilt

    2023-07-07 · 39.6K downloads

    supermartijn642configlib-1.1.7-fabric-mc1.20.jar · 203 KB

  • 1.1.7-fabric-mc1.19

    release

    SuperMartijn642's Config Lib 1.1.7

    1.19.41.19.31.19.21.19.1+1fabricquilt

    2023-07-07 · 7.2K downloads

    supermartijn642configlib-1.1.7-fabric-mc1.19.jar · 203 KB

  • 1.1.7-fabric-mc1.18

    release

    SuperMartijn642's Config Lib 1.1.7

    1.18.21.18.11.18fabricquilt

    2023-07-07 · 581 downloads

    supermartijn642configlib-1.1.7-fabric-mc1.18.jar · 203 KB

  • 1.1.7-forge-mc1.20

    release

    SuperMartijn642's Config Library 1.1.7

    1.20.11.20forgeneoforge

    2023-07-07 · 82.1K downloads

    supermartijn642configlib-1.1.7-forge-mc1.20.jar · 202 KB

  • 1.1.7-forge-mc1.19

    release

    SuperMartijn642's Config Library 1.1.7

    1.19.41.19.31.19.21.19.1+1forgeneoforge

    2023-07-07 · 6.6K downloads

    supermartijn642configlib-1.1.7-forge-mc1.19.jar · 202 KB

  • 1.1.7-forge-mc1.18

    release

    SuperMartijn642's Config Library 1.1.7

    1.18.21.18.11.18forgeneoforge

    2023-07-07 · 3.1K downloads

    supermartijn642configlib-1.1.7-forge-mc1.18.jar · 202 KB

  • 1.1.7-forge-mc1.17

    release

    SuperMartijn642's Config Library 1.1.7

    1.17.11.17forgeneoforge

    2023-07-07 · 451 downloads

    supermartijn642configlib-1.1.7-forge-mc1.17.jar · 202 KB

  • 1.1.7-forge-mc1.16

    release

    SuperMartijn642's Config Library 1.1.7

    1.16.51.16.41.16.31.16.2+2forgeneoforge

    2023-07-07 · 15.8K downloads

    supermartijn642configlib-1.1.7-forge-mc1.16.jar · 201 KB

  • 1.1.7-forge-mc1.15

    release

    SuperMartijn642's Config Library 1.1.7

    1.15.21.15.11.15forgeneoforge

    2023-07-07 · 248 downloads

    supermartijn642configlib-1.1.7-forge-mc1.15.jar · 201 KB

  • 1.1.7-forge-mc1.14

    release

    SuperMartijn642's Config Library 1.1.7

    1.14.41.14.31.14.21.14.1+1forgeneoforge

    2023-07-07 · 280 downloads

    supermartijn642configlib-1.1.7-forge-mc1.14.jar · 201 KB

  • 1.1.7-forge-mc1.12

    release

    SuperMartijn642's Config Library 1.1.7

    1.12.21.12.11.12forgeneoforge

    2023-07-07 · 2.4K downloads

    supermartijn642configlib-1.1.7-forge-mc1.12.jar · 200 KB

  • 1.1.6-forge-mc1.20

    release

    SuperMartijn642's Config Library 1.1.6

    1.20.11.20forge

    2023-06-07 · 8.2K downloads

    supermartijn642configlib-1.1.6-forge-mc1.20.jar · 201 KB

  • 1.1.6-fabric-mc1.20

    release

    SuperMartijn642's Config Lib 1.1.6

    1.20.11.20fabric

    2023-06-07 · 64.8K downloads

    supermartijn642configlib-1.1.6-fabric-mc1.20.jar · 203 KB

  • 1.1.6-fabric-mc1.19

    release

    SuperMartijn642's Config Lib 1.1.6

    1.19.41.19.31.19.21.19.1+1fabric

    2023-04-17 · 27.6K downloads

    supermartijn642configlib-1.1.6-fabric-mc1.19.jar · 203 KB

  • 1.1.6-fabric-mc1.18

    release

    SuperMartijn642's Config Lib 1.1.6

    1.18.21.18.11.18fabric

    2023-04-17 · 809 downloads

    supermartijn642configlib-1.1.6-fabric-mc1.18.jar · 203 KB

  • 1.1.6b-forge-mc1.19

    release

    Config Lib 1.1.6b

    1.19.41.19.31.19.21.19.1+1forge

    2022-07-15 · 14.2K downloads

    supermartijn642configlib-1.1.6b-forge-mc1.19.jar · 201 KB

  • 1.1.6-forge-mc1.18

    release

    Config Lib 1.1.6

    1.18.21.18.11.18forge

    2022-07-15 · 37.2K downloads

    supermartijn642configlib-1.1.6-forge-mc1.18.jar · 201 KB

  • 1.1.6-forge-mc1.17

    release

    Config Lib 1.1.6

    1.17.11.17forge

    2022-07-15 · 368 downloads

    supermartijn642configlib-1.1.6-forge-mc1.17.jar · 201 KB

  • 1.1.6-forge-mc1.16

    release

    Config Lib 1.1.6

    1.16.51.16.41.16.31.16.2+2forge

    2022-07-15 · 21.8K downloads

    supermartijn642configlib-1.1.6-forge-mc1.16.jar · 200 KB

  • 1.1.6-forge-mc1.15

    release

    Config Lib 1.1.6

    1.15.21.15.11.15forge

    2022-07-15 · 277 downloads

    supermartijn642configlib-1.1.6-forge-mc1.15.jar · 200 KB

  • 1.1.6-forge-mc1.14

    release

    Config Lib 1.1.6

    1.14.41.14.31.14.21.14.1+1forge

    2022-07-15 · 301 downloads

    supermartijn642configlib-1.1.6-forge-mc1.14.jar · 200 KB

  • 1.1.6-forge-mc1.12

    release

    Config Lib 1.1.6

    1.12.21.12.11.12forge

    2022-07-15 · 4.4K downloads

    supermartijn642configlib-1.1.6-forge-mc1.12.jar · 200 KB

Files are delivered unmodified from Modrinth's servers and verified against the SHA-512 hash published by the project. The project's license applies to every file; check it before redistributing.

About

SuperMartijn642's Config Lib
SuperMartijn642's Config Lib allows you to specify a config once and it then handles reloading values between world loads, syncing values with clients, and generating values for client- or server-only on its own.


Creating a config:

A config is created using a ModConfigBuilder. Simply create a new instance using #ModConfigBuilder().

   ModConfigBuilder builder = new ModConfigBuilder();

A value can be added to the config with ModConfigBuilder#define which takes a name and a default value. For integer and double values a minimum and maximum value are also required. ModConfigBuilder#define returns a Supplier which should be stored to retrieve the value from the config.

   Supplier<Boolean> booleanValue = builder.define( "booleanValue", true );

   Supplier<Integer> integerValue = builder.define( "integerValue", 5, 0, 10 );

   Supplier<Double> doubleValue = builder.define( "doubleValue", 0.5, 0, 1);

   Supplier<ExampleEnum> enumValue = builder.define( "enumValue", ExampleEnum.VALUE_1 );

A comment can be added to a value by calling ModConfigBuilder#comment(String) before defining the value.

   Supplier<Boolean> valueWithComment = builder.comment( "this is a comment for 'valueWithComment'" ).define( "valueWithComment ", true );

By default values are reloaded when world is loaded. This can be changed to only reload a value when Minecraft launches by calling ModConfigBuilder#gameRestart() before defining the value.

   Supplier<Boolean> notReloadedValue = builder.comment( "this is value will not be reloaded" ).define( "notReloadedValue", true );

Values in COMMON or SERVER configs are synchronized with clients by default, to prevent this use ModConfigBuilder#dontSync().

   Supplier<Boolean> notSynchronizedValue = builder.comment( "this is value will not be synchronized" ).define( "notSynchronizedValue", true );

Values can also be put into categories. ModConfigBuilder#push(String) pushes a category and ModConfigBuilder#pop() pops a category.

   builder.push( "special" );
   
   Supplier<Boolean> specialValue = builder.comment( "this value is in the 'special' category" ).define( "specialValue", true );
   
   builder.pop();

A comment can be added to the active category using ModConfigBuilder#categoryComment(String).

   builder.push( "client" ).categoryComment( "this, is a comment for the 'client' category" );

After defining all values ModConfigBuilder#build() must be called to finish the config.

   builder.build();

Now the values in your config will reloaded and synced automatically and the values can be retrieved using the stored Supplier instances. This will work for all available versions, that includes Minecraft 1.12, 1.14, 1.15, 1.16, 1.17, 1.18, and 1.19.


Example Mod:

For a concrete example of how to use Config Lib checkout the example mod.


FAQ

Can I use your mod in my modpack?
Yes, feel free to use my mod in your modpack


Discord

For future content, upcoming mods, and discussion, feel free to join the SuperMartijn642 discord server!