fangorn/huorn-minecraft
public
ref:4bb0fdff794927e40939eb9a13f806eddcd347c5
Fix multi-block resize bug: extension placement now resizes controller
Bug: When block B was placed next to already-running block A, the
rescanGroup() on B detected A as controller but never told A to
resize its terminal to the combined dimensions. A kept running at
80x24 instead of resizing to the group size.
Fix: The propagation loop now checks if a member is the controller
with a running terminal and resizes it to match the new group.
Added test: extensionResizesRunningController verifies that placing
an extension next to a running controller updates its cols/rows.
35 GameTests + 52 Rust tests, all passing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SHA:
4bb0fdff794927e40939eb9a13f806eddcd347c5
Author:
Cole Christensen <cole.christensen@macmillan.com>
Date:
2026-03-20 08:11
Parents:
b65660a
2 files changed
+59
-2
| Type | ||
|---|---|---|
|
|
common/src/main/java/io/fangorn/alacrittymc/block/TerminalBlockEntity.java | +24 −2 |
|
||