Eaglercraft utilizes WebGL to render graphics. The project required translating OpenGL commands used in the original Java client into WebGL calls compatible with the browser. This allowed the game to retain the distinct aesthetic and rendering pipeline of Minecraft while running on the HTML5 Canvas element.
TeaVM converts Minecraft's Java bytecode into JavaScript, allowing it to execute directly inside a browser's JavaScript engine. This is the core technology that makes the entire project possible.