Skip to content

Fix issues with circle bounds - #1233

Open
Robotgiggle wants to merge 3 commits into
1.21from
circle-bounds-fix
Open

Fix issues with circle bounds#1233
Robotgiggle wants to merge 3 commits into
1.21from
circle-bounds-fix

Conversation

@Robotgiggle

Copy link
Copy Markdown
Member

At some point in the 1.21 port the CircleExecutionState.bounds value was changed from an AABB to a BlockBox. The BlockBox constructor does not need the one-block adjustment that the AABB constructor did in 1.20, so the presence of that adjustment was making the box one block too big.

Also, likely as part of the change to using BlockBox, the fold reflection patterns had been changed to return the actual corner positions of the bounds region, rather than the center of the corner blocks as in 1.20. This caused unexpected results when trying to use them to target blocks at the corners of the circle, since the game would have to determine which block to target given a position perfectly equidistant from 8 of them.

This PR fixes both of those problems, and also updates the guidebook descriptions for the fold reflections to clarify that they return the center positions of the corner blocks, rather than the actual corner positions.

@github-project-automation github-project-automation Bot moved this to 📋 Backlog in Hex Casting Aug 3, 2026
@IridescentVoid IridescentVoid added bug Something isn't working 1.21 labels Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.21 bug Something isn't working

Projects

Status: 📋 Backlog

Development

Successfully merging this pull request may close these issues.

2 participants