ref:5927b3aee7ce82618b98dc72dd3c339002a351c4

Initial working alacritty terminal in Minecraft

Working Alacritty terminal emulator as an interactive block in MC 1.20.1 (Fabric + Forge via Architectury). Rust native library with JNI bridge, fontdue font rendering, PTY shell, ANSI 256-color support. 70+ automated tests including Minecraft GameTests and automated visual screenshot test. Rust (4 files, 2664 LOC): - alacritty_terminal v0.25 + fontdue glyph cache + pixel buffer renderer - JNI_OnLoad with RegisterNatives (required for Fabric's Knot classloader) - GLFW key translation, cursor styles, terminal resize Java (20 files, 2210 LOC): - TerminalBlock + TerminalBlockEntity with client-side PTY - BlockEntityRenderer with RenderType.text() dynamic texture - TerminalFocusScreen (transparent input capture, no WASD movement) - TerminalScreen (F12 full-screen overlay) - NativeLoader (platform-specific library extraction from JAR) - KeyboardHandlerMixin (charTyped interception) - ScreenGroup (multi-block algorithm, not yet wired) - 8 Minecraft GameTests + automated visual test Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SHA: 5927b3aee7ce82618b98dc72dd3c339002a351c4
Author: Cole Christensen <cole.christensen@macmillan.com>
Date: 2026-03-20 05:50

This is the initial commit. No diff available.