: Developers use TeaVM to compile Java 8 code into highly optimized JavaScript that browsers can execute.

Eaglercraft 1.21.10: The Next Frontier of Browser-Based Gaming

: Because browsers do not natively support Minecraft's rendering engine (LWJGL), the creator, LAX1DUDE , manually rewrote the dependency to work as an OpenGL emulator in JavaScript.