Repository navigation
Commit 466a72b
committed
Fix the Hitboxes mixin target that crashed the game on startup
The @WrapOperation on Entity.isInvisible used field-target syntax for a
method target ("isInvisible:()Z"), which is how javap prints a constant
pool entry but not what Mixin's @at accepts. Mixin rejected it with
"Invalid name: isInvisible:", EntityRenderDispatcher failed to transform,
and the client died before reaching the main menu.
Drop the colon so the target parses as a method. The colon is still
correct on the renderHitboxes FIELD target directly above.
Verified by running the 1.8.9 client: it now boots with no mixin errors,
the Hitboxes category renders under Rendering, and hitboxes draw in world
with the per-type colours (self cyan, passive green, hostile dark red,
items yellow) plus the eye-height and look-vector lines.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XmYtYPapkLEw3N96pZf7Pv1 parent b15247f commit 466a72b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments