promotional bannermobile promotional banner

Toggle X-ray

Press F6 to instantly toggle X-Ray on/off — see all ores and valuable blocks through terrain with zero configuration.
Back to Files

togglexray-FABRIC-26.2.jar

File nametogglexray-FABRIC-26.2-1.1.0.jar
Uploader
kotoritoskotoritos
Uploaded
Oct 19, 2026
Downloads
113
Size
1.8 MB
Mod Loaders
Fabric
File ID
9257939
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:toggle-x-ray-1472820:9257939"

Learn more about Curse Maven

What's new

Toggle X-Ray 1.1.0 — Minecraft 26.2

✨ New look

  • Hidden blocks (stone, dirt, deepslate…) now use a clean edge-frame style (based on the Pure Xray pack): only the outlines of caves, holes and walls are drawn, so you can always see the shape of the terrain and never fall into a hole by surprise.
  • Other styles are available in config/togglexray.json: frame (default), tinted, glass, fade, hidden. The ghostOpacity option sets their opacity.
  • Blocks in your inventory and hand are never affected.

👁️ Always visible

  • Ores and listed blocks are drawn with all 6 faces.
  • Water and bedrock are always visible.
  • Chests, signs and other block entities not in the list are hidden.

🧩 Compatibility

  • Works with and without Sodium.
  • Now also works with Fabric API's renderer (Indigo), which is what most players without Sodium use.

🛠️ Fixes

  • Lighting no longer gets patchy or stuck after toggling (X-Ray no longer touches the lighting engine).
  • Brightness is always restored when X-Ray is turned off, when the game closes, and even after a crash. Brightness while X-Ray is on is now properly full bright.
  • Cave culling no longer hides ores behind stone.

⚙️ Config

  • New options: style, ghostOpacity, onlyExposed (only ores touching air, useful against anti-X-Ray), hideBlockEntities.
  • The config is re-read every time X-Ray is turned on, so there's no need to restart.
  • Old configs are upgraded automatically.

📋 Requirements

  • Minecraft 26.2
  • Fabric Loader 0.19.3+
  • Java 25+

This mod has no related projects