{"id":80856,"date":"2026-06-04T18:43:18","date_gmt":"2026-06-04T15:43:18","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/"},"modified":"2026-06-04T18:43:18","modified_gmt":"2026-06-04T15:43:18","slug":"hexparse","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/","title":{"rendered":"HexParse"},"content":{"rendered":"<p># HexParse mod<\/p>\n<p>![Curseforge ![CurseForge](https:\/\/badges.moddingx.org\/curseforge\/downloads\/1148731)](https:\/\/www.curseforge.com\/minecraft\/mc-mods\/hexparse)<br \/>\n![Modrinth ![Modrinth](https:\/\/badges.moddingx.org\/modrinth\/downloads\/WjFyIzFj)](https:\/\/modrinth.com\/mod\/hexparse)<\/p>\n<p>Provides a pair of patterns and a set of commands to convert custom code into (pattern or literal) list iota; requires<br \/>\nplayer to have a focus item in hand.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/github.com\/SamsTheNerd\/HexGloop\/blob\/73ea39b3becd\/externalassets\/hexdoc-badgecozy.svg?raw=true\" alt=\"A badge for hexdoc in the style of Devins Badges\" width=180><br \/>\n<img decoding=\"async\" src=\"https:\/\/github.com\/SamsTheNerd\/HexGloop\/blob\/73ea39b3becd\/externalassets\/addon-badge-cozy.svg?raw=true\" alt=\"A badge for addons.hexxy.media in the style of Devins Badges\" width=160><\/p>\n<p>(Old KubeJS version HERE)<\/p>\n<p>| Example Code                                                                    | Example Iota                                                                    | Example Iota (Colorful Nested)                                                                        |<br \/>\n|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-|<br \/>\n| ![Code](https:\/\/github.com\/YukkuriC\/HexParseMod\/raw\/main\/img\/sample%20code.png) | ![Iota](https:\/\/github.com\/YukkuriC\/HexParseMod\/raw\/main\/img\/sample%20iota.png) | ![Iota (Colorful)](https:\/\/github.com\/YukkuriC\/HexParseMod\/raw\/main\/img\/colorful%20nested%20iota.png) |<\/p>\n<p>_The<br \/>\nhighlight VSCode extension<br \/>\nhas only basic functions, and needs to be put into `&#8221;%USERPROFILE%.vscodeextensionshexParse_highlight&#8221;` manually._<\/p>\n<p><!-- TOC --><\/p>\n<p>* [HexParse mod](#hexparse-mod)<br \/>\n    * [Supported IO Item Types](#supported-io-item-types)<br \/>\n    * [Commands Added](#commands-added)<br \/>\n        * [Reading &#038; Writing](#reading&#8211;writing)<br \/>\n        * [Configs](#configs)<br \/>\n        * [Misc. &#038; Helpers](#misc&#8211;helpers)<br \/>\n        * [OP-Only Commands](#op-only-commands)<br \/>\n    * [Patterns Added](#patterns-added)<br \/>\n    * [Misc. Features](#misc-features)<br \/>\n    * [New Iota: `CommentIota`](#new-iota-commentiota)<br \/>\n    * [`HexParseAPI`](#hexparseapi)<br \/>\n    * [External Documents](#external-documents)<br \/>\n        * [Supported Expressions](#supported-expressions)<br \/>\n        * [Available Configs](#available-configs)<\/p>\n<p><!-- TOC --><\/p>\n<p>## Supported IO Item Types<\/p>\n<p>&#8211; Focuses<br \/>\n&#8211; Spell Books<br \/>\n&#8211; (1.20) Thought Knots<br \/>\n&#8211; recognized by item classes, able to add more via `HexParseAPI` or `IOMethod`<\/p>\n<p>## Commands Added<\/p>\n<p>### Reading &#038; Writing<\/p>\n<p>&#8211; `\/hexParse <code string> [rename]`: parse input code into supported held item; optional `rename` argument to rename the item.<br \/>\n- `\/hexParse read`: read handheld item's iota, parse into code and show in chat window; the result will be copied<br \/>\n  when clicked.<br \/>\n- `\/hexParse read_signatures`: same as `read`, but ignores all known pattern IDs and outputs all as angle signatures.<br \/>\n- `\/hexParse clipboard [rename]`: read client clipboard text and parse into supported held item; optional `rename` argument to rename<br \/>\n  the item.<br \/>\n- `\/hexParse clipboard_angles [rename]`: same as `clipboard`, but only accept patterns input with raw angle string like<br \/>\n  `\"wedsaq\"`.<br \/>\n- `\/hexParse clipboard_hexpattern [rename]`: (experimental) same as `clipboard`, but accepts `.hexpattern` format; _warning: only partial features supported_.<br \/>\n- `\/hexParse share`: (experimental) same as `read` but broadcasts iota's raw content and click-copy-able parsed code to<br \/>\n  every player in the server.<br \/>\n- `\/hexParse read_hexbug`: same as `read` but translates the result to the format used by discord HexBug's `\/patterns hex` command. _note:<br \/>\n  non-pattern constants and some old registry names still need to be handled manually_<br \/>\n- `\/hexParse mind_stack ...`: read\/write iota from player's mind (staff casting VM)<br \/>\n    - `... peek`: read the last iota inside mind stack; gets `null` if stack is empty<br \/>\n    - `... push <code>`: parse code and push into mind stack<br \/>\n    - `... push_clipboard`: same as above, but code comes from clipboard<br \/>\n- `\/hexParse property ...`: (`Hexcellular` interop) get\/set data for PropertyIota; used property names all force-added leading `_` for security reason<br \/>\n    - `... read <propName>`: read and parse from certain property<br \/>\n    - `... write <propName> <code>`: write code into certain property<br \/>\n    - `... clipboard <propName>`: same as above, but code comes from clipboard<\/p>\n<p>### Configs<\/p>\n<p>- `\/hexParse (macro\/dialect) ...`: edit client-saved code dialects (1-on-1 mapping, not starting with `#`) and macros (<br \/>\n  mapped to code segments, starting with `#`)<br \/>\n    - `... list`: list all saved macros\/dialects; there exist several predefined macros from ~~the nature~~<br \/>\n    - `... define <key> <value>`: define a macro\/dialect mapping; could be fresh-new or overriding existed one.<br \/>\n    - `macro define_clipboard <key>`: same as above, but only for macros, and reads player's clipboard<br \/>\n    - `... remove <key>`: remove mapping entry with given key (if exists)<br \/>\n- `\/hexParse conflict`: conflict resolver for multiple patterns with same short name (ID path)<br \/>\n    - _only enables in physical client (singleplayer, local multiplayer) or with OP permission_<br \/>\n    - `...` or `... list`: list all short names pointed by multiple long IDs<br \/>\n    - `... list <short_name>`: list all conflicting IDs under certain short name<br \/>\n    - `... set <short_name> <long_ID>`: redirect certain short name to input pattern ID<\/p>\n<p>### Misc. & Helpers<\/p>\n<p>- `\/hexParse donate [amount]`: donate custom amount of media to the nature. Pay if you feel guilty using this mod ::)<br \/>\n- `\/hexParse learn_great`: Read handheld items and learns great pattern(s) inside.<br \/>\n- `\/hexParse lehmer [...nums]`: calculate lehmer code for given permutation (from ascending, e.g. `0 1 2 3 4`); input<br \/>\n  should be separated with space; the result number can be used for **Swindler's Gambit**.<\/p>\n<p>### OP-Only Commands<\/p>\n<p>- `\/hexParse unlock_great (unlockAll|lockAll|unlock <pattern id>|lock <pattern id>)`: controls great pattern unlocking<br \/>\n  process of current<br \/>\n  world by locking\/unlocking all at once, or a single great pattern each execution.<\/p>\n<p>## Patterns Added<\/p>\n<p>* `comment_switcher`: Transforms input Comment Iota into String Iota, or everything else into Comment Iota.<br \/>\n* `code2focus`: Equivalent to `\/hexParse clipboard` (now not only focuses).<br \/>\n* `focus2code`: Equivalent to `\/hexParse read`.<br \/>\n* `remove_comments`: Clears comment iotas from a (nested) list input.<br \/>\n* `learn_patterns`: Read handheld items and learns great pattern(s) inside.<br \/>\n* `create_linebreak`: Adds a line-break comment iota with space-indents of given number to the stack.<br \/>\n* `donate`: Equivalent to `\/hexParse donate`.<br \/>\n* (great spell) `compile`: takes in a MoreIotas string iota, and parses it into a code list.<\/p>\n<p>*Introduction also written in `HexParse Patterns` section inside the book.*<\/p>\n<p>## Misc. Features<\/p>\n<p>* At each pattern's page, press `Shift` to display the pattern's registry ID<\/p>\n<p>## New Iota: `CommentIota`<\/p>\n<p>`CommentIota` displays string inside, and parses into a null iota (with id: `\"hexparse:comment\"`) which executes doing<br \/>\nnothing.<br \/>\nComment iotas includes text comments, line-breaks & indents, and unknown great spell placeholders.<br \/>\nWhen player holds `Shift` key, all comments will be hidden.<\/p>\n<p>## `HexParseAPI`<\/p>\n<p>- Location: `io.yukkuric.hexparse.api.HexParseAPI`<br \/>\n- Contents:<br \/>\n    - `AddForthParser(p: IStr2Nbt)`<br \/>\n    - `AddBackParser(p: INbt2Str)`<br \/>\n    - `AddSpecialHandlerBackParser(id: String, func: (Action, CompoundTag, ServerPlayer) -> String)`<br \/>\n    - `CreateItemIOMethod(cls: Class<*>, writer: ((ItemStack, CompoundTag) -> Unit)?, reader: ((ItemStack) -> CompoundTag?)?, priority: Int = 0, validator: ((ItemStack, Boolean) -> Boolean)?`<br \/>\n      )`<\/p>\n<p>## External Documents<\/p>\n<p>### Supported Expressions<\/p>\n<p>see this file for all available symbols.<\/p>\n<p>### Available Configs<\/p>\n<p>see this file for all available configs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Converts custom code into (pattern or literal) list iota by command; with various features for coding conveniently.<\/p>\n","protected":false},"featured_media":80857,"template":"","meta":{"_minecraft_slug":"hexparse","_minecraft_project_id":"WjFyIzFj","_minecraft_author":"YukkuriC","_minecraft_license":"MIT","_minecraft_downloads":12872,"_minecraft_follows":11,"_minecraft_client_side":"required","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"hexparse.zip","_minecraft_size_bytes":42983593,"_minecraft_version_count":187,"_minecraft_updated_at":"2026-05-16T01:17:35.519397Z","_minecraft_date_created":"2024-11-28T09:50:12.974372Z","_minecraft_date_modified":"2026-04-22T14:20:52.278878Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/hexparse","_minecraft_icon_attachment_id":80857,"_minecraft_imported_at":"2026-06-04T15:43:20+00:00","_minecraft_import_hash":"4f75a4277cf7e550d27ebcc98b8ae23e","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[43,97,104,122,158,92],"mod_loader":[99,106,160],"minecraft_version":[56,36,37],"class_list":["post-80856","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-cursed","mod_category-fabric","mod_category-forge","mod_category-magic","mod_category-neoforge","mod_category-utility","mod_loader-fabric","mod_loader-forge","mod_loader-neoforge","minecraft_version-1-19-2","minecraft_version-1-20-1","minecraft_version-1-21-1"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HexParse - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HexParse - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Converts custom code into (pattern or literal) list iota by command; with various features for coding conveniently.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta property=\"og:image\" content=\"https:\/\/github.com\/SamsTheNerd\/HexGloop\/blob\/73ea39b3becd\/externalassets\/hexdoc-badgecozy.svg?raw=true\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexparse\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexparse\\\/\",\"name\":\"HexParse - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexparse\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexparse\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hexparse-icon-8372b2aaee7472bab999c4c025504682033cc9c9.png\",\"datePublished\":\"2026-06-04T15:43:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexparse\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexparse\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexparse\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hexparse-icon-8372b2aaee7472bab999c4c025504682033cc9c9.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/hexparse-icon-8372b2aaee7472bab999c4c025504682033cc9c9.png\",\"width\":360,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/hexparse\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"HexParse\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HexParse - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/","og_locale":"en_US","og_type":"article","og_title":"HexParse - Minecraft","og_description":"Converts custom code into (pattern or literal) list iota by command; with various features for coding conveniently.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/","og_site_name":"Minecraft","og_image":[{"url":"https:\/\/github.com\/SamsTheNerd\/HexGloop\/blob\/73ea39b3becd\/externalassets\/hexdoc-badgecozy.svg?raw=true","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/","name":"HexParse - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hexparse-icon-8372b2aaee7472bab999c4c025504682033cc9c9.png","datePublished":"2026-06-04T15:43:18+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hexparse-icon-8372b2aaee7472bab999c4c025504682033cc9c9.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/hexparse-icon-8372b2aaee7472bab999c4c025504682033cc9c9.png","width":360,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/hexparse\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"HexParse"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/80856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/80857"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=80856"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=80856"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=80856"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=80856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}