Skip to content

Fix vengeance spirit hitbox not matching inner entity - #1286

Merged
rubensworks merged 2 commits into
master-1.20-ltsfrom
claude/blissful-goodall-w1q4o1-1.20
Oct 14, 2026
Merged

rubensworks merged 2 commits into
master-1.20-ltsfrom
claude/blissful-goodall-w1q4o1-1.20

Conversation

@rubensworks

Copy link
Copy Markdown
Member

1.20 counterpart of #1279 and #1284. The issue from #1278 (focus beams only hitting the legs of tall spirits) also applies here, because this branch never got #1279.

Changes

Verification

./gradlew build passes (compile + unit tests). This branch has no game tests, so I could not run the regression tests from #1279/#1284 here. The same change was verified with game tests on 1.21.1 and 26.3 in #1284.

🤖 Generated with Claude Code

https://claude.ai/code/session_018a47GR9aPVBj2dRfWzzhdN


Generated by Claude Code

Backport of #1279, plus refreshing dimensions after construction.
Dimensions were only refreshed on pose changes, so spirits kept their 1x1
dummy hitbox. Since the random inner entity is set while defining synced
data, it also does not trigger onSyncedDataUpdated, so refresh dimensions
once at the end of the constructor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018a47GR9aPVBj2dRfWzzhdN
Comment thread src/main/java/org/cyclops/evilcraft/entity/monster/EntityVengeanceSpirit.java Outdated
@rubensworks
rubensworks merged commit 9724aee into master-1.20-lts Oct 14, 2026
2 checks passed
@rubensworks
rubensworks deleted the claude/blissful-goodall-w1q4o1-1.20 branch October 14, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants