feat(api/iota): endofunctors - #1191
Merged
IridescentVoid merged 2 commits intoJul 30, 2026
Merged
Conversation
IridescentVoid
requested changes
Jul 8, 2026
IridescentVoid
requested changes
Jul 8, 2026
IridescentVoid
left a comment
Contributor
There was a problem hiding this comment.
Code-Review: -1
Implementation of visitChildren should be made more readable. I would like to at least see full-length variable names.
I'd also like feedback from others on the API design since changing this later would be a breaking change.
poolcritter
force-pushed
the
push-nvtvkvszxopq
branch
from
July 8, 2026 16:19
d8fddcb to
59bb512
Compare
|
|
||
| @Override | ||
| protected Iota visitChildren(UnaryOperator<Iota> visitor) { | ||
| var out = new ArrayList(); |
Contributor
There was a problem hiding this comment.
Suggested change
| var out = new ArrayList(); | |
| var out = new ArrayList<Iota>(); |
Other than this, looks good to merge if there are no other comments on the api design. Not good to merge, I'm pretty sure the logic is wrong.
IridescentVoid
requested changes
Jul 9, 2026
| var out = new ArrayList(); | ||
| boolean conserve = true; | ||
| for (Iota orig : getList()) { | ||
| var replacement = visitor.apply(orig); |
Contributor
There was a problem hiding this comment.
Suggested change
| var replacement = visitor.apply(orig); | |
| var replacement = orig.visit(visitor); |
poolcritter
force-pushed
the
push-nvtvkvszxopq
branch
3 times, most recently
from
July 15, 2026 00:30
eded368 to
44ce751
Compare
poolcritter
force-pushed
the
push-nvtvkvszxopq
branch
from
July 15, 2026 00:32
44ce751 to
d165a58
Compare
Change-Id: I6f4fdb764e727fa211db96140ba2b6f26a6a6964
adds `visit` and `visitChildren` to iotas letting you apply a UnaryOperator to an entire tree of them. this is like hexal's IMappableIota except I don't know if that does self pre or post (or if it does self at all). awa. I haven't tested this in prod; hex doesn't have anything that would use this yet. @IridescentVoid I believe you have a patch that may want to use this? Cc: @IridescentVoid Change-Id: Ic464f4702ba9b0379c93e31723e2a5fe6a6a6964 Issue: closes FallingColors#1083 Prereq: FallingColors#1195
poolcritter
force-pushed
the
push-nvtvkvszxopq
branch
from
July 25, 2026 01:24
d165a58 to
7ff9da8
Compare
IridescentVoid
enabled auto-merge
July 30, 2026 08:59
Contributor
|
Also closes #1195, since the changes there are bundled here. |
This was referenced Jul 30, 2026
Olfi01
pushed a commit
to Olfi01/HexMod
that referenced
this pull request
Jul 31, 2026
Includes entries for: - FallingColors#1191
Merged
object-Object
added a commit
that referenced
this pull request
Aug 15, 2026
## This must not be squash-merged!!! Includes PRs: - #1218 - #1191 - #1221 - #1041 - #1172 --------- Co-authored-by: Robotgiggle <88736742+Robotgiggle@users.noreply.github.com> Co-authored-by: pool <pool@pool.net.eu.org> Co-authored-by: IridescentVoid <265486018+IridescentVoid@users.noreply.github.com>
object-Object
added a commit
that referenced
this pull request
Aug 26, 2026
### Added - Added the `cannot_modify_cost` tag for patterns that should ignore the `media_consumption` attribute when calculating cost ([#987](#987)) @Robotgiggle - Added config options to scale pattern costs per action and globally ([#1041](#1041)) @Robotgiggle - Added a config toggle for the pattern wobble animation on active slates to improve performance ([#1017](#1017)) @aloaloolaola - Added keybinds to flip forward and backwards in a spellbook ([#1028](#1028)) @pythonmcpi - Added a config toggle to disable scrolling through spellbooks outside of the staff grid ([#1028](#1028)) @pythonmcpi - Added Harmony Reflection, which pushes the value of the golden ratio ([#900](#900)) @miyucomics - Added a config toggle (default false) for the effect that makes iota-holding items display their entire NBT data when Advanced Tooltips is enabled ([#1021](#1021)) @Robotgiggle - Added a pattern display overlay for pattern-holding items (ie scrolls or slates) while holding shift in the inventory ([#879](#879)) @SamsTheNerd - Added connected textures for Akashic Ligatures when using Continuity or Optifine ([#885](#885)) @kineticneticat - Added type comparison patterns ([#1114](#1114)) @IridescentVoid - Similarity Distillation and Dissimilarity Distillation for iota types - Surveyor's Distillation and Inspector's Distillation for blocks - Taxonomer's Distillation for entities - Sorter's Distillation and Stacking Distillation for items - Added Contemplation for escaping without the exponential growth of Consideration ([#1102](#1102)) @IridescentVoid - Added Interjection, Meditation, and Recollection for advanced pattern-list creation ([#1103](#1103)) @Robotgiggle - Added Media Reflection for checking media available to the cast ([#1235](#1235)) @IridescentVoid - Added ko_kr translations ([#1187](#1187)) @Bananamilk452 - Added a variety of new translations via Weblate ([#1251](#1251), [#1261](#1261), [#1265](#1265), [#1269](#1269), [#1272](#1272), [#1274](#1274)) - de_de by @Olfi01 and @miyucomics - en_pt by @frostedlyre and @penguinencounter - es_es by @chichi and @ElNico56 - fi_fi by @hauveli - fr_fr by @Spectramaris, @Sixela963, @arsvenutia, @drawnbadden - ja_jp by @ViktoriaNtro - no_no by @ShyRasan123 - pl_pl by @manictv and @Welesen - sv_se by @hauveli ### Changed - Changed the `media_consumption` attribute to only apply to player-based casting ([#987](#987)) @Robotgiggle - Changed Wayfarer's Flight and Anchorite's Flight to both cost 2 dust per unit, and enforced a minimum cost for Anchorite's Flight ([#1040](#1040)) @Robotgiggle - Changed the Hasty Retrospection mishap to Absent Introspection as it's now used for anything that only works while parenthesized ([#1047](#1047)) @Robotgiggle - Updated and reorganized various entries in the guidebook to improve clarity ([#1199](#1199)) @Robotgiggle - Added a new entry defining what a Hex actually is and how it can be represented on the stack - Changed "A Primer on Vectors" to provide its own information rather than linking to Psi's guide - Reordered "Escaping Patterns" to account for the newly added Contemplation pattern - Removed "Influences" and moved relevant info into "Hex Casting 101" - Updated the Flay Mind recipe display in EMI and JEI to cycle through all valid entities if the input is an entity tag ([#1023](#1023)) @YukkuriC - All custom recipe displays now work with both EMI and JEI on all platforms, rather than only EMI on Fabric and only JEI on Forge ([#1206](#1206)) @Robotgiggle - The pattern limit is now checked even when executing non-pattern iotas like jumps ([#1035](#1035)) @pythonmcpi - Re-implemented the ability to extract stored media from items in trinket/curio slots ([#996](#996)) @YukkuriC - Patterns involving entity look direction now compensate for the vanilla bug that causes projectiles and phantoms to report the wrong direction ([#1025](#1025)) @Robotgiggle - Edified Panels are now crafted with 9 planks rather than 8 to avoid conflicting with the vanilla chest recipe ([#1080](#1080)) @Robotgiggle - Drawing Evanition with nothing left to do will now undo the opening Introspection ([#1047](#1047)) @Robotgiggle - Book pages for patterns without input/output iotas will no longer display the type signature line at all ([#1118](#1118)) @IridescentVoid - Consideration, Introspection, Retrospection, and Evanition now count towards the per-hex pattern limit ([#1172](#1172)) @Robotgiggle - Updated Inline dependency from 1.0.1 to 1.2.2 ([#1043](#1043)) @Robotgiggle - Updated Fabric Language Kotlin dependency from 1.9.4 to 1.13.7 ([#1043](#1043)) @Robotgiggle - Updated Kotlin for Forge dependency from 4.3.0 to 4.12.0 ([#1043](#1043)) @Robotgiggle - Updated zh_cn translations ([#995](#995), [#1037](#1037), [#1045](#1045)) @ChuijkYahus - Updated various translations via Weblate ([#1251](#1251), [#1261](#1261), [#1265](#1265), [#1269](#1269), [#1272](#1272), [#1274](#1274)) - ru_ru by @DarkThunderer and @koctep - zh_cn by @ChuijkYahus ### Fixed - Fixed a crash loop when trying to generate a creative-mode ancient scroll for a Great Spell whose per-world pattern hasn't been calculated yet ([#992](#992)) @Robotgiggle - Fixed a crash when trying to generate a loot scroll for a Great Spell whose per-world pattern hasn't been calculated yet ([#1079](#1079)) @Robotgiggle - Fixed Create Water and Create Lava causing the "position is forbidden to you" mishap when the position is actually just out of ambit ([#1029](#1029)) @pythonmcpi - Fixed a broken translation key on the error message from a Shepherd Directrix ([#1013](#1013)) @Teal-Wolf-25-v2 - Fixed the log spam caused by double pattern registration when joining a world ([#999](#999)) @Real-Luxof - Fixed various incorrect documentation in the Hex Book ([#1010](#1010)) @Robotgiggle - Fixed a broken translation key when trying to use Place Block with no placeable items in your hotbar ([#1010](#1010)) @Robotgiggle - Fixed a potential chunkban when leaving a looping spell circle running for long enough ([#908](#908)) @Stick404 - Fixed a potential issue on MacOS when calculating soulglimmer color ([#984](#984)) @vgskye - Fixed the book page for the Inert Mindflay mishap incorrectly claiming it would kill unsuitable flay subjects ([#1081](#1081)) @Robotgiggle - Fixed Pace Purification returning nonzero velocity on nonmoving items ([#1119](#1119)) @IridescentVoid - Fixed Accessor's Purification returning false for scrolls in item frames ([#1115](#1115)) @IridescentVoid - Fixed Break Block being unable to break cobwebs on Fabric ([#1218](#1218)) @Robotgiggle - Fixed the zero vector not being listed as falsy on the Augur's Purification page ([#1273](#1273)) @DetermiedMech1 - Fixed the command to list all per-world patterns not working ([#1277](#1277)) @Olfi01 - Fixed a mixin issue that made gaslighting not work properly on Fabric ([#1281](#1281)) @Robotgiggle ### Internal - The mod now uses Fabric Loom 1.9, Gradle 8.11, and Kotlin 2.0.20, by Robotgiggle in [#1043](#1043). - Updated Inline dependency from 1.0.1 to 1.2.2, by Robotgiggle in [#1043](#1043). - The mod now uses Fabric Loom 1.9, Gradle 8.11, and Kotlin 2.0.20 ([#1043](#1043)) @Robotgiggle - Changed the internal implementation of Thoth's Gambit to use a `TreeList` for more efficiency ([#1031](#1031)) @s5bug - Deprecated the version of `matchPattern` that takes a boolean argument since it always raises an exception ([#1002](#1002)) @beholderface - `Iota` subclasses can now specify whether the iota should be displayed with or without commas when in a list ([#988](#988)) @TheRobbie73 - Made the `getUsableStacks` and `getPrimaryStacks` methods in `CastingEnvironment` and its subclasses public ([#907](#907)) @miyucomics - Improved handling for duplicate pattern signatures in hexdoc ([#1007](#1007)) @object-Object - `CircleExecutionState` now stores the shape of the spell circle using two corners rather than an entire list of positions ([#908](#908)) @Stick404 - Added methods in `Action` and `Iota` to define behavior when inside parentheses, and de-hardcoded the iota-escaping patterns ([#1047](#1047)) @Robotgiggle - Added visitor methods to `Iota` to enable walking iotas in an extensible way ([#1191](#1191)) @poolcritter
object-Object
added a commit
that referenced
this pull request
Aug 27, 2026
### Added - Added the `cannot_modify_cost` tag for patterns that should ignore the `media_consumption` attribute when calculating cost ([#987](#987)) @Robotgiggle - Added config options to scale pattern costs per action and globally ([#1041](#1041)) @Robotgiggle - Added a config toggle for the pattern wobble animation on active slates to improve performance ([#1017](#1017)) @aloaloolaola - Added keybinds to flip forward and backwards in a spellbook ([#1028](#1028)) @pythonmcpi - Added a config toggle to disable scrolling through spellbooks outside of the staff grid ([#1028](#1028)) @pythonmcpi - Added Harmony Reflection, which pushes the value of the golden ratio ([#900](#900)) @miyucomics - Added a config toggle (default false) for the effect that makes iota-holding items display their entire NBT data when Advanced Tooltips is enabled ([#1021](#1021)) @Robotgiggle - Added a pattern display overlay for pattern-holding items (ie scrolls or slates) while holding shift in the inventory ([#879](#879)) @SamsTheNerd - Added connected textures for Akashic Ligatures when using Continuity or Optifine ([#885](#885)) @kineticneticat - Added type comparison patterns ([#1114](#1114)) @IridescentVoid - Similarity Distillation and Dissimilarity Distillation for iota types - Surveyor's Distillation and Inspector's Distillation for blocks - Taxonomer's Distillation for entities - Sorter's Distillation and Stacking Distillation for items - Added Contemplation for escaping without the exponential growth of Consideration ([#1102](#1102)) @IridescentVoid - Added Interjection, Meditation, and Recollection for advanced pattern-list creation ([#1103](#1103)) @Robotgiggle - Added Media Reflection for checking media available to the cast ([#1235](#1235)) @IridescentVoid - Added ko_kr translations ([#1187](#1187)) @Bananamilk452 - Added a variety of new translations via Weblate ([#1251](#1251), [#1261](#1261), [#1265](#1265), [#1269](#1269), [#1272](#1272), [#1274](#1274)) - de_de by @Olfi01 and @miyucomics - en_pt by @frostedlyre and @penguinencounter - es_es by @chichi and @ElNico56 - fi_fi by @hauveli - fr_fr by @Spectramaris, @Sixela963, @arsvenutia, @drawnbadden - ja_jp by @ViktoriaNtro - no_no by @ShyRasan123 - pl_pl by @manictv and @Welesen - sv_se by @hauveli ### Changed - Changed the `media_consumption` attribute to only apply to player-based casting ([#987](#987)) @Robotgiggle - Changed Wayfarer's Flight and Anchorite's Flight to both cost 2 dust per unit, and enforced a minimum cost for Anchorite's Flight ([#1040](#1040)) @Robotgiggle - Changed the Hasty Retrospection mishap to Absent Introspection as it's now used for anything that only works while parenthesized ([#1047](#1047)) @Robotgiggle - Updated and reorganized various entries in the guidebook to improve clarity ([#1199](#1199)) @Robotgiggle - Added a new entry defining what a Hex actually is and how it can be represented on the stack - Changed "A Primer on Vectors" to provide its own information rather than linking to Psi's guide - Reordered "Escaping Patterns" to account for the newly added Contemplation pattern - Removed "Influences" and moved relevant info into "Hex Casting 101" - Updated the Flay Mind recipe display in EMI and JEI to cycle through all valid entities if the input is an entity tag ([#1023](#1023)) @YukkuriC - All custom recipe displays now work with both EMI and JEI on all platforms, rather than only EMI on Fabric and only JEI on Forge ([#1206](#1206)) @Robotgiggle - The pattern limit is now checked even when executing non-pattern iotas like jumps ([#1035](#1035)) @pythonmcpi - Re-implemented the ability to extract stored media from items in trinket/curio slots ([#996](#996)) @YukkuriC - Patterns involving entity look direction now compensate for the vanilla bug that causes projectiles and phantoms to report the wrong direction ([#1025](#1025)) @Robotgiggle - Edified Panels are now crafted with 9 planks rather than 8 to avoid conflicting with the vanilla chest recipe ([#1080](#1080)) @Robotgiggle - Drawing Evanition with nothing left to do will now undo the opening Introspection ([#1047](#1047)) @Robotgiggle - Book pages for patterns without input/output iotas will no longer display the type signature line at all ([#1118](#1118)) @IridescentVoid - Consideration, Introspection, Retrospection, and Evanition now count towards the per-hex pattern limit ([#1172](#1172)) @Robotgiggle - Updated Inline dependency from 1.0.1 to 1.2.2 ([#1043](#1043)) @Robotgiggle - Updated Fabric Language Kotlin dependency from 1.9.4 to 1.13.7 ([#1043](#1043)) @Robotgiggle - Updated Kotlin for Forge dependency from 4.3.0 to 4.12.0 ([#1043](#1043)) @Robotgiggle - Updated zh_cn translations ([#995](#995), [#1037](#1037), [#1045](#1045)) @ChuijkYahus - Updated various translations via Weblate ([#1251](#1251), [#1261](#1261), [#1265](#1265), [#1269](#1269), [#1272](#1272), [#1274](#1274)) - ru_ru by @DarkThunderer and @koctep - zh_cn by @ChuijkYahus ### Fixed - Fixed a crash loop when trying to generate a creative-mode ancient scroll for a Great Spell whose per-world pattern hasn't been calculated yet ([#992](#992)) @Robotgiggle - Fixed a crash when trying to generate a loot scroll for a Great Spell whose per-world pattern hasn't been calculated yet ([#1079](#1079)) @Robotgiggle - Fixed Create Water and Create Lava causing the "position is forbidden to you" mishap when the position is actually just out of ambit ([#1029](#1029)) @pythonmcpi - Fixed a broken translation key on the error message from a Shepherd Directrix ([#1013](#1013)) @Teal-Wolf-25-v2 - Fixed the log spam caused by double pattern registration when joining a world ([#999](#999)) @Real-Luxof - Fixed various incorrect documentation in the Hex Book ([#1010](#1010)) @Robotgiggle - Fixed a broken translation key when trying to use Place Block with no placeable items in your hotbar ([#1010](#1010)) @Robotgiggle - Fixed a potential chunkban when leaving a looping spell circle running for long enough ([#908](#908)) @Stick404 - Fixed a potential issue on MacOS when calculating soulglimmer color ([#984](#984)) @vgskye - Fixed the book page for the Inert Mindflay mishap incorrectly claiming it would kill unsuitable flay subjects ([#1081](#1081)) @Robotgiggle - Fixed Pace Purification returning nonzero velocity on nonmoving items ([#1119](#1119)) @IridescentVoid - Fixed Accessor's Purification returning false for scrolls in item frames ([#1115](#1115)) @IridescentVoid - Fixed Break Block being unable to break cobwebs on Fabric ([#1218](#1218)) @Robotgiggle - Fixed the zero vector not being listed as falsy on the Augur's Purification page ([#1273](#1273)) @DetermiedMech1 - Fixed the command to list all per-world patterns not working ([#1277](#1277)) @Olfi01 - Fixed a mixin issue that made gaslighting not work properly on Fabric ([#1281](#1281)) @Robotgiggle ### Internal - The mod now uses Fabric Loom 1.9, Gradle 8.11, and Kotlin 2.0.20, by Robotgiggle in [#1043](#1043). - Updated Inline dependency from 1.0.1 to 1.2.2, by Robotgiggle in [#1043](#1043). - The mod now uses Fabric Loom 1.9, Gradle 8.11, and Kotlin 2.0.20 ([#1043](#1043)) @Robotgiggle - Changed the internal implementation of Thoth's Gambit to use a `TreeList` for more efficiency ([#1031](#1031)) @s5bug - Deprecated the version of `matchPattern` that takes a boolean argument since it always raises an exception ([#1002](#1002)) @beholderface - `Iota` subclasses can now specify whether the iota should be displayed with or without commas when in a list ([#988](#988)) @TheRobbie73 - Made the `getUsableStacks` and `getPrimaryStacks` methods in `CastingEnvironment` and its subclasses public ([#907](#907)) @miyucomics - Improved handling for duplicate pattern signatures in hexdoc ([#1007](#1007)) @object-Object - `CircleExecutionState` now stores the shape of the spell circle using two corners rather than an entire list of positions ([#908](#908)) @Stick404 - Added methods in `Action` and `Iota` to define behavior when inside parentheses, and de-hardcoded the iota-escaping patterns ([#1047](#1047)) @Robotgiggle - Added visitor methods to `Iota` to enable walking iotas in an extensible way ([#1191](#1191)) @poolcritter
hexxy-weblate
pushed a commit
to hexxy-weblate/HexMod
that referenced
this pull request
Aug 27, 2026
### Added - Added the `cannot_modify_cost` tag for patterns that should ignore the `media_consumption` attribute when calculating cost ([FallingColors#987](FallingColors#987)) @Robotgiggle - Added config options to scale pattern costs per action and globally ([FallingColors#1041](FallingColors#1041)) @Robotgiggle - Added a config toggle for the pattern wobble animation on active slates to improve performance ([FallingColors#1017](FallingColors#1017)) @aloaloolaola - Added keybinds to flip forward and backwards in a spellbook ([FallingColors#1028](FallingColors#1028)) @pythonmcpi - Added a config toggle to disable scrolling through spellbooks outside of the staff grid ([FallingColors#1028](FallingColors#1028)) @pythonmcpi - Added Harmony Reflection, which pushes the value of the golden ratio ([FallingColors#900](FallingColors#900)) @miyucomics - Added a config toggle (default false) for the effect that makes iota-holding items display their entire NBT data when Advanced Tooltips is enabled ([FallingColors#1021](FallingColors#1021)) @Robotgiggle - Added a pattern display overlay for pattern-holding items (ie scrolls or slates) while holding shift in the inventory ([FallingColors#879](FallingColors#879)) @SamsTheNerd - Added connected textures for Akashic Ligatures when using Continuity or Optifine ([FallingColors#885](FallingColors#885)) @kineticneticat - Added type comparison patterns ([FallingColors#1114](FallingColors#1114)) @IridescentVoid - Similarity Distillation and Dissimilarity Distillation for iota types - Surveyor's Distillation and Inspector's Distillation for blocks - Taxonomer's Distillation for entities - Sorter's Distillation and Stacking Distillation for items - Added Contemplation for escaping without the exponential growth of Consideration ([FallingColors#1102](FallingColors#1102)) @IridescentVoid - Added Interjection, Meditation, and Recollection for advanced pattern-list creation ([FallingColors#1103](FallingColors#1103)) @Robotgiggle - Added Media Reflection for checking media available to the cast ([FallingColors#1235](FallingColors#1235)) @IridescentVoid - Added ko_kr translations ([FallingColors#1187](FallingColors#1187)) @Bananamilk452 - Added a variety of new translations via Weblate ([FallingColors#1251](FallingColors#1251), [FallingColors#1261](FallingColors#1261), [FallingColors#1265](FallingColors#1265), [FallingColors#1269](FallingColors#1269), [FallingColors#1272](FallingColors#1272), [FallingColors#1274](FallingColors#1274)) - de_de by @Olfi01 and @miyucomics - en_pt by @frostedlyre and @penguinencounter - es_es by @chichi and @ElNico56 - fi_fi by @hauveli - fr_fr by @Spectramaris, @Sixela963, @arsvenutia, @drawnbadden - ja_jp by @ViktoriaNtro - no_no by @ShyRasan123 - pl_pl by @manictv and @Welesen - sv_se by @hauveli ### Changed - Changed the `media_consumption` attribute to only apply to player-based casting ([FallingColors#987](FallingColors#987)) @Robotgiggle - Changed Wayfarer's Flight and Anchorite's Flight to both cost 2 dust per unit, and enforced a minimum cost for Anchorite's Flight ([FallingColors#1040](FallingColors#1040)) @Robotgiggle - Changed the Hasty Retrospection mishap to Absent Introspection as it's now used for anything that only works while parenthesized ([FallingColors#1047](FallingColors#1047)) @Robotgiggle - Updated and reorganized various entries in the guidebook to improve clarity ([FallingColors#1199](FallingColors#1199)) @Robotgiggle - Added a new entry defining what a Hex actually is and how it can be represented on the stack - Changed "A Primer on Vectors" to provide its own information rather than linking to Psi's guide - Reordered "Escaping Patterns" to account for the newly added Contemplation pattern - Removed "Influences" and moved relevant info into "Hex Casting 101" - Updated the Flay Mind recipe display in EMI and JEI to cycle through all valid entities if the input is an entity tag ([FallingColors#1023](FallingColors#1023)) @YukkuriC - All custom recipe displays now work with both EMI and JEI on all platforms, rather than only EMI on Fabric and only JEI on Forge ([FallingColors#1206](FallingColors#1206)) @Robotgiggle - The pattern limit is now checked even when executing non-pattern iotas like jumps ([FallingColors#1035](FallingColors#1035)) @pythonmcpi - Re-implemented the ability to extract stored media from items in trinket/curio slots ([FallingColors#996](FallingColors#996)) @YukkuriC - Patterns involving entity look direction now compensate for the vanilla bug that causes projectiles and phantoms to report the wrong direction ([FallingColors#1025](FallingColors#1025)) @Robotgiggle - Edified Panels are now crafted with 9 planks rather than 8 to avoid conflicting with the vanilla chest recipe ([FallingColors#1080](FallingColors#1080)) @Robotgiggle - Drawing Evanition with nothing left to do will now undo the opening Introspection ([FallingColors#1047](FallingColors#1047)) @Robotgiggle - Book pages for patterns without input/output iotas will no longer display the type signature line at all ([FallingColors#1118](FallingColors#1118)) @IridescentVoid - Consideration, Introspection, Retrospection, and Evanition now count towards the per-hex pattern limit ([FallingColors#1172](FallingColors#1172)) @Robotgiggle - Updated Inline dependency from 1.0.1 to 1.2.2 ([FallingColors#1043](FallingColors#1043)) @Robotgiggle - Updated Fabric Language Kotlin dependency from 1.9.4 to 1.13.7 ([FallingColors#1043](FallingColors#1043)) @Robotgiggle - Updated Kotlin for Forge dependency from 4.3.0 to 4.12.0 ([FallingColors#1043](FallingColors#1043)) @Robotgiggle - Updated zh_cn translations ([FallingColors#995](FallingColors#995), [FallingColors#1037](FallingColors#1037), [FallingColors#1045](FallingColors#1045)) @ChuijkYahus - Updated various translations via Weblate ([FallingColors#1251](FallingColors#1251), [FallingColors#1261](FallingColors#1261), [FallingColors#1265](FallingColors#1265), [FallingColors#1269](FallingColors#1269), [FallingColors#1272](FallingColors#1272), [FallingColors#1274](FallingColors#1274)) - ru_ru by @DarkThunderer and @koctep - zh_cn by @ChuijkYahus ### Fixed - Fixed a crash loop when trying to generate a creative-mode ancient scroll for a Great Spell whose per-world pattern hasn't been calculated yet ([FallingColors#992](FallingColors#992)) @Robotgiggle - Fixed a crash when trying to generate a loot scroll for a Great Spell whose per-world pattern hasn't been calculated yet ([FallingColors#1079](FallingColors#1079)) @Robotgiggle - Fixed Create Water and Create Lava causing the "position is forbidden to you" mishap when the position is actually just out of ambit ([FallingColors#1029](FallingColors#1029)) @pythonmcpi - Fixed a broken translation key on the error message from a Shepherd Directrix ([FallingColors#1013](FallingColors#1013)) @Teal-Wolf-25-v2 - Fixed the log spam caused by double pattern registration when joining a world ([FallingColors#999](FallingColors#999)) @Real-Luxof - Fixed various incorrect documentation in the Hex Book ([FallingColors#1010](FallingColors#1010)) @Robotgiggle - Fixed a broken translation key when trying to use Place Block with no placeable items in your hotbar ([FallingColors#1010](FallingColors#1010)) @Robotgiggle - Fixed a potential chunkban when leaving a looping spell circle running for long enough ([FallingColors#908](FallingColors#908)) @Stick404 - Fixed a potential issue on MacOS when calculating soulglimmer color ([FallingColors#984](FallingColors#984)) @vgskye - Fixed the book page for the Inert Mindflay mishap incorrectly claiming it would kill unsuitable flay subjects ([FallingColors#1081](FallingColors#1081)) @Robotgiggle - Fixed Pace Purification returning nonzero velocity on nonmoving items ([FallingColors#1119](FallingColors#1119)) @IridescentVoid - Fixed Accessor's Purification returning false for scrolls in item frames ([FallingColors#1115](FallingColors#1115)) @IridescentVoid - Fixed Break Block being unable to break cobwebs on Fabric ([FallingColors#1218](FallingColors#1218)) @Robotgiggle - Fixed the zero vector not being listed as falsy on the Augur's Purification page ([FallingColors#1273](FallingColors#1273)) @DetermiedMech1 - Fixed the command to list all per-world patterns not working ([FallingColors#1277](FallingColors#1277)) @Olfi01 - Fixed a mixin issue that made gaslighting not work properly on Fabric ([FallingColors#1281](FallingColors#1281)) @Robotgiggle ### Internal - The mod now uses Fabric Loom 1.9, Gradle 8.11, and Kotlin 2.0.20, by Robotgiggle in [FallingColors#1043](FallingColors#1043). - Updated Inline dependency from 1.0.1 to 1.2.2, by Robotgiggle in [FallingColors#1043](FallingColors#1043). - The mod now uses Fabric Loom 1.9, Gradle 8.11, and Kotlin 2.0.20 ([FallingColors#1043](FallingColors#1043)) @Robotgiggle - Changed the internal implementation of Thoth's Gambit to use a `TreeList` for more efficiency ([FallingColors#1031](FallingColors#1031)) @s5bug - Deprecated the version of `matchPattern` that takes a boolean argument since it always raises an exception ([FallingColors#1002](FallingColors#1002)) @beholderface - `Iota` subclasses can now specify whether the iota should be displayed with or without commas when in a list ([FallingColors#988](FallingColors#988)) @TheRobbie73 - Made the `getUsableStacks` and `getPrimaryStacks` methods in `CastingEnvironment` and its subclasses public ([FallingColors#907](FallingColors#907)) @miyucomics - Improved handling for duplicate pattern signatures in hexdoc ([FallingColors#1007](FallingColors#1007)) @object-Object - `CircleExecutionState` now stores the shape of the spell circle using two corners rather than an entire list of positions ([FallingColors#908](FallingColors#908)) @Stick404 - Added methods in `Action` and `Iota` to define behavior when inside parentheses, and de-hardcoded the iota-escaping patterns ([FallingColors#1047](FallingColors#1047)) @Robotgiggle - Added visitor methods to `Iota` to enable walking iotas in an extensible way ([FallingColors#1191](FallingColors#1191)) @poolcritter
object-Object
added a commit
that referenced
this pull request
Aug 27, 2026
### Added - Added the `cannot_modify_cost` tag for patterns that should ignore the `media_consumption` attribute when calculating cost ([#987](#987)) @Robotgiggle - Added config options to scale pattern costs per action and globally ([#1041](#1041)) @Robotgiggle - Added a config toggle for the pattern wobble animation on active slates to improve performance ([#1017](#1017)) @aloaloolaola - Added keybinds to flip forward and backwards in a spellbook ([#1028](#1028)) @pythonmcpi - Added a config toggle to disable scrolling through spellbooks outside of the staff grid ([#1028](#1028)) @pythonmcpi - Added Harmony Reflection, which pushes the value of the golden ratio ([#900](#900)) @miyucomics - Added a config toggle (default false) for the effect that makes iota-holding items display their entire NBT data when Advanced Tooltips is enabled ([#1021](#1021)) @Robotgiggle - Added a pattern display overlay for pattern-holding items (ie scrolls or slates) while holding shift in the inventory ([#879](#879)) @SamsTheNerd - Added connected textures for Akashic Ligatures when using Continuity or Optifine ([#885](#885)) @kineticneticat - Added type comparison patterns ([#1114](#1114)) @IridescentVoid - Similarity Distillation and Dissimilarity Distillation for iota types - Surveyor's Distillation and Inspector's Distillation for blocks - Taxonomer's Distillation for entities - Sorter's Distillation and Stacking Distillation for items - Added Contemplation for escaping without the exponential growth of Consideration ([#1102](#1102)) @IridescentVoid - Added Interjection, Meditation, and Recollection for advanced pattern-list creation ([#1103](#1103)) @Robotgiggle - Added Media Reflection for checking media available to the cast ([#1235](#1235)) @IridescentVoid - Added ko_kr translations ([#1187](#1187)) @Bananamilk452 - Added a variety of new translations via Weblate ([#1251](#1251), [#1261](#1261), [#1265](#1265), [#1269](#1269), [#1272](#1272), [#1274](#1274)) - de_de by @Olfi01 and @miyucomics - en_pt by @frostedlyre and @penguinencounter - es_es by @chichi and @ElNico56 - fi_fi by @hauveli - fr_fr by @Spectramaris, @Sixela963, @arsvenutia, @drawnbadden - ja_jp by @ViktoriaNtro - no_no by @ShyRasan123 - pl_pl by @manictv and @Welesen - sv_se by @hauveli ### Changed - Changed the `media_consumption` attribute to only apply to player-based casting ([#987](#987)) @Robotgiggle - Changed Wayfarer's Flight and Anchorite's Flight to both cost 2 dust per unit, and enforced a minimum cost for Anchorite's Flight ([#1040](#1040)) @Robotgiggle - Changed the Hasty Retrospection mishap to Absent Introspection as it's now used for anything that only works while parenthesized ([#1047](#1047)) @Robotgiggle - Updated and reorganized various entries in the guidebook to improve clarity ([#1199](#1199)) @Robotgiggle - Added a new entry defining what a Hex actually is and how it can be represented on the stack - Changed "A Primer on Vectors" to provide its own information rather than linking to Psi's guide - Reordered "Escaping Patterns" to account for the newly added Contemplation pattern - Removed "Influences" and moved relevant info into "Hex Casting 101" - Updated the Flay Mind recipe display in EMI and JEI to cycle through all valid entities if the input is an entity tag ([#1023](#1023)) @YukkuriC - All custom recipe displays now work with both EMI and JEI on all platforms, rather than only EMI on Fabric and only JEI on Forge ([#1206](#1206)) @Robotgiggle - The pattern limit is now checked even when executing non-pattern iotas like jumps ([#1035](#1035)) @pythonmcpi - Re-implemented the ability to extract stored media from items in trinket/curio slots ([#996](#996)) @YukkuriC - Patterns involving entity look direction now compensate for the vanilla bug that causes projectiles and phantoms to report the wrong direction ([#1025](#1025)) @Robotgiggle - Edified Panels are now crafted with 9 planks rather than 8 to avoid conflicting with the vanilla chest recipe ([#1080](#1080)) @Robotgiggle - Drawing Evanition with nothing left to do will now undo the opening Introspection ([#1047](#1047)) @Robotgiggle - Book pages for patterns without input/output iotas will no longer display the type signature line at all ([#1118](#1118)) @IridescentVoid - Consideration, Introspection, Retrospection, and Evanition now count towards the per-hex pattern limit ([#1172](#1172)) @Robotgiggle - Updated Inline dependency from 1.0.1 to 1.2.2 ([#1043](#1043)) @Robotgiggle - Updated Fabric Language Kotlin dependency from 1.9.4 to 1.13.7 ([#1043](#1043)) @Robotgiggle - Updated Kotlin for Forge dependency from 4.3.0 to 4.12.0 ([#1043](#1043)) @Robotgiggle - Updated zh_cn translations ([#995](#995), [#1037](#1037), [#1045](#1045)) @ChuijkYahus - Updated various translations via Weblate ([#1251](#1251), [#1261](#1261), [#1265](#1265), [#1269](#1269), [#1272](#1272), [#1274](#1274)) - ru_ru by @DarkThunderer and @koctep - zh_cn by @ChuijkYahus ### Fixed - Fixed a crash loop when trying to generate a creative-mode ancient scroll for a Great Spell whose per-world pattern hasn't been calculated yet ([#992](#992)) @Robotgiggle - Fixed a crash when trying to generate a loot scroll for a Great Spell whose per-world pattern hasn't been calculated yet ([#1079](#1079)) @Robotgiggle - Fixed Create Water and Create Lava causing the "position is forbidden to you" mishap when the position is actually just out of ambit ([#1029](#1029)) @pythonmcpi - Fixed a broken translation key on the error message from a Shepherd Directrix ([#1013](#1013)) @Teal-Wolf-25-v2 - Fixed the log spam caused by double pattern registration when joining a world ([#999](#999)) @Real-Luxof - Fixed various incorrect documentation in the Hex Book ([#1010](#1010)) @Robotgiggle - Fixed a broken translation key when trying to use Place Block with no placeable items in your hotbar ([#1010](#1010)) @Robotgiggle - Fixed a potential chunkban when leaving a looping spell circle running for long enough ([#908](#908)) @Stick404 - Fixed a potential issue on MacOS when calculating soulglimmer color ([#984](#984)) @vgskye - Fixed the book page for the Inert Mindflay mishap incorrectly claiming it would kill unsuitable flay subjects ([#1081](#1081)) @Robotgiggle - Fixed Pace Purification returning nonzero velocity on nonmoving items ([#1119](#1119)) @IridescentVoid - Fixed Accessor's Purification returning false for scrolls in item frames ([#1115](#1115)) @IridescentVoid - Fixed Break Block being unable to break cobwebs on Fabric ([#1218](#1218)) @Robotgiggle - Fixed the zero vector not being listed as falsy on the Augur's Purification page ([#1273](#1273)) @DetermiedMech1 - Fixed the command to list all per-world patterns not working ([#1277](#1277)) @Olfi01 - Fixed a mixin issue that made gaslighting not work properly on Fabric ([#1281](#1281)) @Robotgiggle ### Internal - The mod now uses Fabric Loom 1.9, Gradle 8.11, and Kotlin 2.0.20, by Robotgiggle in [#1043](#1043). - Updated Inline dependency from 1.0.1 to 1.2.2, by Robotgiggle in [#1043](#1043). - The mod now uses Fabric Loom 1.9, Gradle 8.11, and Kotlin 2.0.20 ([#1043](#1043)) @Robotgiggle - Changed the internal implementation of Thoth's Gambit to use a `TreeList` for more efficiency ([#1031](#1031)) @s5bug - Deprecated the version of `matchPattern` that takes a boolean argument since it always raises an exception ([#1002](#1002)) @beholderface - `Iota` subclasses can now specify whether the iota should be displayed with or without commas when in a list ([#988](#988)) @TheRobbie73 - Made the `getUsableStacks` and `getPrimaryStacks` methods in `CastingEnvironment` and its subclasses public ([#907](#907)) @miyucomics - Improved handling for duplicate pattern signatures in hexdoc ([#1007](#1007)) @object-Object - `CircleExecutionState` now stores the shape of the spell circle using two corners rather than an entire list of positions ([#908](#908)) @Stick404 - Added methods in `Action` and `Iota` to define behavior when inside parentheses, and de-hardcoded the iota-escaping patterns ([#1047](#1047)) @Robotgiggle - Added visitor methods to `Iota` to enable walking iotas in an extensible way ([#1191](#1191)) @poolcritter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
adds
visitandvisitChildrento iotas letting you apply a UnaryOperator to an entire tree of them. this is like hexal's IMappableIota except I don't know if that does self pre or post (or if it does self at all). awa.I haven't tested this in prod; hex doesn't have anything that would use this yet. @IridescentVoid I believe you have a patch that may want to use this?
Cc: @IridescentVoid
Change-Id: Ic464f4702ba9b0379c93e31723e2a5fe6a6a6964
Issue: closes #1083
Prereq: #1195