1.0.0
Compatibility
Changes
GL4ES Stencil Fix 1.0.0
Initial release.
What this fixes
Crashes on mobile Minecraft launchers (ZalithLauncher, PojavLauncher, FCL, etc.) when running Create mod under GL4ES or Krypton Wrapper. The game crashes at the loading screen before the title screen appears with one of the following errors:
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT— GL4ES / GLES 2.0 backendGL_FRAMEBUFFER_UNSUPPORTED— Krypton Wrapper / GLES 3.x backend
Root cause
Create/Ponder calls RenderTarget.enableStencil() during UI initialization.
Mobile OpenGL wrappers cannot attach a stencil buffer to an existing FBO, causing
glCheckFramebufferStatus to return a failure code, which Forge/NeoForge throws
as a RuntimeException.
Fix
A Forge Coremod (ASM bytecode transformer) replaces enableStencil() with a
no-op at class-load time. The driver call is never made, so the crash never occurs.
Side effects
The stencil buffer is used by Ponder for UI clipping in the tutorial viewer. With this fix, that clipping effect is disabled — minor visual artifacts may appear in the Ponder screen. Normal gameplay is completely unaffected.
Compatibility
- Minecraft 1.20.1 + Forge 47.x
- Create (all 1.20.1 versions: 0.5.x, 6.0.x)
- GL4ES (GLES 2.0) and Krypton Wrapper (GLES 3.x)
- ZalithLauncher, PojavLauncher, FCL, and any other GL4ES-based launcher
- Client-side only — not required on servers
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:WjO53Sw8:RaOeiltM"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:WjO53Sw8:RaOeiltM"
}

