Skip to content

feat: various type comparison patterns - #1224

Merged
IridescentVoid merged 8 commits into
FallingColors:mainfrom
IridescentVoid:blocktype_comparison
Aug 4, 2026
Merged

feat: various type comparison patterns#1224
IridescentVoid merged 8 commits into
FallingColors:mainfrom
IridescentVoid:blocktype_comparison

Conversation

@IridescentVoid

@IridescentVoid IridescentVoid commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Adds two patterns for comparing the block type/state at given positions.

@IridescentVoid IridescentVoid added enhancement New feature or request 1.20 labels Jul 30, 2026
@github-project-automation github-project-automation Bot moved this to 📋 Backlog in Hex Casting Jul 30, 2026
@IridescentVoid IridescentVoid moved this from 📋 Backlog to 🏗 In progress in Hex Casting Jul 30, 2026
@Robotgiggle

Copy link
Copy Markdown
Member

As suggested by @abilliontrillionstars on discord, the basic one could be Surveyor's Distillation, which was the name used for the block comparison pattern in 1.18-era Hexal. For the strict comparison, I propose the name Inspector's Distillation.

@IridescentVoid
IridescentVoid marked this pull request as ready for review July 31, 2026 04:33

@Robotgiggle Robotgiggle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Putting this here so it doesn't get buried:

Image

@Robotgiggle Robotgiggle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the descriptions for the block comparison patterns could be clarified a little to specify that they're comparing the blocks located at the two vectors, rather than the vectors themselves. This is particularly notable for Inspector's Distillation, which currently reads like it's just Equality Distillation but only for vectors.

@Robotgiggle Robotgiggle changed the title feat: block type comparison patterns feat: various type comparison patterns Aug 2, 2026

@Robotgiggle Robotgiggle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with two nits

Comment thread Common/src/main/resources/assets/hexcasting/lang/en_us.flatten.json5 Outdated
@IridescentVoid
IridescentVoid added this pull request to the merge queue Aug 4, 2026
Merged via the queue into FallingColors:main with commit 3841309 Aug 4, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from 🏗 In progress to ✅ Done in Hex Casting Aug 4, 2026
@IridescentVoid
IridescentVoid deleted the blocktype_comparison branch August 4, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20 enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants