You may find that some of the default controls are RED in color. You will find below a tutorial to do it both ways. You can install the mod in vanilla mod or with Optifine. The current developer has stated that he will investigate the possibility of “modloader compatibility”, but there is no information on how long this might take. This is mainly due to the way the Xray mod is installed in the base code of Minecraft, Modloarders use different coding techniques to install mods in conflict with the Xray method. ⚠️ Please note that this version of the Xray mod is NOT COMPATIBLE with ANY type of Mod Loader such as Forge, Rift or Fabric – this means that you can only use Xray by itself and not with other mods. There are 3 versions of the Xray mod, one that works without API (and therefore is not compatible with other mods), another that works with Minecraft Forge and the last that requires Fabric for Minecraft.
Here is a preview of the result : Download Xray mod for Minecraft ⚙️ Is the Xray mod compatible with Forge ?.💿 With which versions of Minecraft is the Xray mod compatible ?.Once the game is running, you can click on > and scroll down until you see an “XRay” section.In the next window, you have the possibility to name the installation.Double-click on this file and a pop-up window should appear.Download the file that corresponds to your version of Minecraft.