fangorn/huorn-minecraft
public
ref:fab2b8451d64870e2bf708466d41a554614806c9
Add security, performance, UX improvements
Security (D→A):
- AlacrittyConfig with configurable player allowlist, ops override,
server enable toggle, shell whitelist, max terminals per player
- Permission check in TerminalBlock.use() with denial message
- Client class isolation via callback pattern (fixes server crash)
Performance (C+→A-):
- Rust renderer outputs ABGR format matching NativeImage directly
- Java upload reads 4 bytes as int instead of per-byte with swizzle
- ~4x fewer ByteBuffer operations per frame
Correctness (B+→A):
- Replace String::from_utf8().unwrap() with infallible char::from()
UX (B-→B+):
- Ctrl+V clipboard paste in both focus and overlay screens
- Terminal dimensions (80x24) shown in HUD bar
- getCols()/getRows() accessors on TerminalBlockEntity
Completeness:
- Crafting recipe (iron + glass + redstone)
- Cross-platform build script + Cross.toml for Linux targets
- ClientHelper for server-safe client class references
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SHA:
fab2b8451d64870e2bf708466d41a554614806c9
Author:
Cole Christensen <cole.christensen@macmillan.com>
Date:
2026-03-20 06:10
Parents:
5927b3a
15 files changed
+419
-57
| Type | ||
|---|---|---|
|
|
build_natives.sh | +50 −0 |
|
||