This is the online version of the HexParse documentation.

Entries which are blurred are spoilers. Click to reveal them, but be aware that they may spoil endgame progression. Alternatively, click here to get a version with all spoilers showing.

How I make use of the exotic power of HexParse.

Command BlockReading & Writing

/hexParse <code string> [rename]: parse input code into supported held item; optional rename argument to rename the item.

/hexParse read: read handheld item's iota, parse into code and show in chat window; the result will be copied when clicked.


/hexParse clipboard [rename]: read client clipboard text and parse into supported held item; optional rename argument to rename the item.

/hexParse clipboard_angles [rename]: same as clipboard, but only accept patterns input with raw angle string like "wedsaq".


/hexParse read_hexbug: same as read but translates the result to the format used by discord HexBug's /patterns hex command. note: non-pattern constants and some old registry names still need to be handled manually

/hexParse share: (experimental) same as read but broadcasts iota's raw content and click-copy-able parsed code to every player in the server.


/hexParse mind_stack ...: read/write iota from player's mind (staff casting VM)

... peek: read the last iota inside mind stack; gets null if stack is empty

... push <code>: parse code and push into mind stack

... push_clipboard: same as above, but code comes from clipboard


/hexParse property ...: (Hexcellular interop) get/set data for PropertyIota; used property names all force-added leading _ for security reason

... read <propName>: read and parse from certain property

... write <propName> <code>: write code into certain property

... clipboard <propName>: same as above, but code comes from clipboard


Command BlockConfigs

/hexParse (macro/dialect) ...: edit client-saved code dialects (1-on-1 mapping, not starting with #) and macros (mapped to code segments, starting with #)

... list: list all saved macros/dialects.

...


... define <key> <value>: define a macro/dialect mapping; could be fresh-new or overriding existed one.

macro define_clipboard <key>: same as above, but only for macros, and reads player's clipboard

... remove <key>: remove mapping entry with given key (if exists)


/hexParse conflict: conflict resolver for multiple patterns with same short name (ID path)

only enables in physical client (singleplayer, local multiplayer) or with OP permission

... or ... list: list all short names pointed by multiple long IDs

...


... list <short_name>: list all conflicting IDs under certain short name

... set <short_name> <long_ID>: redirect certain short name to input pattern ID


Command BlockMisc. & Helpers

/hexParse donate [amount]: donate custom amount of media to the nature. Pay if you feel guilty using this mod ::)

/hexParse lehmer [...nums]: calculate Lehmer Code for given permutation (from ascending, e.g. 0 1 2 3 4); input should be separated with space; the result number can be used for Swindler's Gambit


Command BlockOP-Only Commands

/hexParse unlock_great

(unlockAll|lockAll|unlock <pattern id>|lock <pattern id>)

controls great pattern unlocking process of current world by locking/unlocking all at once, or a single great pattern each execution.


A list of all the patterns I've discovered, as well as what they do.

Command BlockHexParse Patterns

Encoding Gambit

Your browser does not support visualizing patterns. Pattern code: aqqqqqwwewewewewewdqeeeeed

Reads data from the focus I'm holding, and prints parsed code into chat menu.
Can only be casted by staff.


Decoding Gambit

Your browser does not support visualizing patterns. Pattern code: aqqqqqeawqwqwqwqwqwweeeeed

Reads code from my local clipboard, then parse it into the focus I'm holding.
Can only be casted by staff.


Learn Great Patterns (→ list)

Your browser does not support visualizing patterns. Pattern code: aqqqqqeawqwqwqwqwqwwqqeqqeqqeqqeqqeqqdqeeeeed

Extract great patterns from handheld items (ancient scrolls, focuses, compiled casting items, etc.), and returns a list of newly learned ones by the parser.


No-Comment Purification (list → list)

Your browser does not support visualizing patterns. Pattern code: dadadedadadwqaeaqeww

Clears all comment iotas in a list, returns processed list.


Line-Break Prfn. (num → comment)

Your browser does not support visualizing patterns. Pattern code: dadadedadaddwwwa

Adds a line-break comment iota with space-indents of given number to the stack.


Compile (str → list)

Your browser does not support visualizing patterns. Pattern code: aqqqqqeawqwqwqwqwqwdeweweqeweweqewewe

Compiles accepted string iota into an iota list; has no effect if MoreIotas not installed.