More information

Read important information below, then click here to download.

News:

☞ Optifine is great! 

Disclaimer:
X-ray or any similar modifications can be used for many purposes. Just because I am publishing this modification does NOT mean I take responsibility for what you or others use this for.

If you are here to express your distaste of X-ray or any similar modifications, please get out of this topic, as you are simply wasting everyone's time.


Most servers prohibit the use of X-ray or any similar modifications, and a great many of those servers also have a mod that will detect players that use X-ray or any similar modifications. I do not endorse the use of this modification, any X-ray or any similar modification on servers that prohibit any X-ray or any similar modification!

Picture:


How to install:

Install Liteloader using its installer, then place this mod in the "mods" directory of your Minecraft installation, which is located at %APPDATA%/.minecraft on Windows.

Known conflicts: None

Full FAQ:
Troubleshooting:
Q: Why does Minecraft crash or give me a black screen?
A: Please paste the log (Development Console) into Pastebin, then put the link of the Pastebin you created into the MCF topic.
Q: Why is the mod not working?
A: Be sure you installed my mod correctly and also installed Liteloader.
Q: Why does the screen flash when I press a key?
A: Please paste the log (Development Console) into Pastebin, then put the link of the Pastebin you created into the MCF topic.
Q: Why is my Minecraft lagging?
A: Install Optifine to improve your FPS.
Q: Why do the blocks I select don't save?
A:  Please paste the log (Development Console) into Pastebin, then put the link of the Pastebin you created into the MCF topic.
Q: Why is the render distance horrible?
A: Change the render distance in the options menu of the game.
Q: Why is the void fog in the way?
A: You can turn it off using Optifine.
Q: How come I can't see any blocks?
A: Make sure your monitor is connected properly, and that the settings on your monitor are set correctly. In particular, increase the brightness and contrast.
Features:
Q: How do I change which blocks are displayed in the X-ray mode?
A: Press Control-X, then select "Select blocks to see in X-ray view", and use the arrow, W, or S keys to scroll through the menu. Use the enter key to select or deselect a block you want to display in X-ray mode. You can also use the scroll wheel/gesture to scroll through the menu, and the left mouse button to select or deselect an block.
Q: How do I change between sets of blocks (profiles)?
A: Press Control-X, then type the name of what you want to name your profile. After you are done, press "Switch to the profile in the textbox". You can now use the profile and change which blocks are displayed in X-ray mode. The default profile's name is "DefaultBlockList".
Q: How do I disable the update checker?
A: Press Control-X, then click "Change settings". Type "updatenotify" in the first box, and type "false" in the second box. After you have done that, click "Set option". The update checker will be disabled once you close and reopen Minecraft.



Default keybinds:
X: activate X-ray
LCONTROL + X: open X-ray Menu
Keybinds can always be changed in Minecraft's keybinds screen.

Other information:
This mod does not require a patcher and works on 1.12. This mod's sole purpose is to be an X-ray mod. It does not have any other features.

Banner:

[url="http://www.minecraftforum.net/topic/1659776-"][img]https://i.imgbomb.com/5eXFL.png[/img][/url]
Put this banner in your Minecraft Forums signature! Copy the text in the box above, then click here to visit your signature page. After that, paste the text into the signature box! Be sure to press "Save Changes" at the bottom of the page!
Compatibility:
All mods:
All new versions of this mod are compatible with Forge and other base-class editing mods.

TODO:
Fix rendering when looking at blocks from certain angles
Add back Special Mode 1 and Cave Finder
A better "Advanced Options" dialog
Point-and-click block selection

Next update:
- None

Links: 
CurseForge: http://minecraft.curseforge.com/mc-mods/x-ray/ (Does not have latest version)


Source code:
https://github.com/uyjulian/MinecraftX-RAY

License (2 clause BSD license):


Copyright (c) 2014-2017, Julian Uy

All rights reserved. 

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.