Skip to content

Shader Safe Mode

cev-api edited this page Apr 12, 2026 · 1 revision

Shader-Safe Mode

  • Detect shader usage (Iris/OptiFine) safely at runtime and keep a cached toggle state.
  • Automatically switch sensitive hacks to “shader-safe mode” when shaders are active.
  • Avoid render-thread crashes by snapshotting collections, disabling parallel streams, and avoiding unsafe joins.
  • Apply safe-mode behavior dynamically when shaders are toggled on/off.
  • Notify users once per toggle/enable so they know performance/behavior is adjusted.
  • Currently only in these higher risk hacks: Search, CaveFinder, PlayerESP and Excavator as well as in BlockVertexCompiler.

Parent: What's changed or improved in this fork?

Navigation

Clone this wiki locally