Skip to content

feat: block type comparison patterns - #1224

Open
IridescentVoid wants to merge 3 commits into
FallingColors:mainfrom
IridescentVoid:blocktype_comparison
Open

feat: block type comparison patterns#1224
IridescentVoid wants to merge 3 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.

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: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

2 participants