fangorn/huorn-minecraft
public
ref:734948af1d971ec97cee30e86225b0d05d74f9b3
Fix multi-block rendering: continuous screen across blocks
Bugs fixed:
- Controller block rendered full UVs instead of its sub-region
(now ALL blocks in a group use getSubRegion UVs)
- Margins between blocks in a group (now m=0 for grouped blocks)
- onPlace only rescanned the new block, not neighbors
(now rescans all 6 adjacent blocks too)
Visual test updated to rescan all blocks in the multi-block grid
on the client side and verify terminal background + text pixels
across both single-block and 3x2 multi-block configurations.
52 Rust + 35 GameTests + visual test (2/2 pass), all green.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SHA:
734948af1d971ec97cee30e86225b0d05d74f9b3
Author:
Cole Christensen <cole.christensen@macmillan.com>
Date:
2026-03-20 08:25
Parents:
4bb0fdf
3 files changed
+232
-198
| Type | ||
|---|---|---|
|
|
common/src/main/java/io/fangorn/alacrittymc/block/TerminalBlock.java | +11 −2 |
|
||