Wiki 9Minecraft Wiki 9Minecraft
Corgilib Wiki › Guides › Editing CorgiLib JSON5 Configuration Files

Editing CorgiLib JSON5 Configuration Files

CorgiLib adds support for .json5 configuration files using Mojang's codec system. Unlike standard JSON files, .json5 files allow mod developers to include helpful comments, making manual configuration significantly easier for players.

Locating and Opening Configs

1. Navigate to your Minecraft instance directory.

2. Open the config folder.

3. Look for configuration files ending in .json5 associated with mods that rely on CorgiLib.

4. Open the file in any standard plain-text editor.

Reading Comments and Modifying Values

Inside a CorgiLib-powered .json5 file, you will find descriptive comment lines directly above settings. These comments explain what each value controls, saving you from guessing what an option does.

  • Read the comment lines to determine the accepted format and purpose of each setting.
  • Modify numeric values, toggle true/false options, or adjust easing and blending settings as outlined by the comments.
  • Ensure you do not delete brackets, quotation marks, or commas when editing values.
  • Save the file and restart Minecraft to ensure the codec reads your updated settings properly.