Wiki 9Minecraft Wiki 9Minecraft

Patchouli Text Formatting

Guides 2FAQ 10Related mods 48
DownloadPatchouli Mod

Get the files on 9Minecraft

Contents (4)
  1. Common Formatting Codes
  2. Macros
  3. Next guides
  4. More in this wiki

Patchouli uses a custom formatting system to style text within books. These codes are placed directly in the JSON strings.

Common Formatting Codes

Code Effect Description
$(br) Line Break Moves text to the next line.
$(br2) Paragraph Adds a double line break.
$(li) List Item Adds a bullet point.
$(c:hex) Color Changes text color (e.g., $(c:ff0000) for red).
$(l:id) Link Creates a clickable link to another entry or category.
$(bold) Bold Makes the following text bold.
$(italic) Italic Makes the following text italicized.
$ Reset Clears all active formatting.

Macros

Creators can define custom macros to simplify long formatting strings. For example, a macro $(item) could be set to $(c:blue)$(bold) to highlight item names consistently.