We've all been there: gold-strapped, hungry, desperately mining and wishing there were a way to find the treasure behind the rocks. Or maybe you've fought past that stage, and now you're building vast networks of tunnels and looking for an easier way to help line them up. Or maybe you're an engineer who wants to get a better look at buried circuits. Whatever the case may be, everyone can agree that X-ray vision certainly couldn't hurt. That's what this is for!
Yes, it's the X-Ray Mod! Enter X-ray mode with X, cave finder with C, and a host of other modes to give you superhero vision. The mod is fully configurable in-game (menu: Ctrl+X) to customize blocks, key bindings, and more!
Don't believe me? See for yourself!
X-ray mode:
More pictures:
Cave finder:
Easy-to-use GUI lets you quickly configure your key bindings and more:
It's also easy to change what ores show up, from a familiar interface:
And you can change how much of the original terrain shows through:
Much better!
Trouble seeing at night? Not any more, with fullbright mode! (V key by default)
If you find that too bright, you can also use the Entity Highlight mode (Z key) to help stop those monsters from creeping up on you at night!
It can't stop them from kicking your ass, though.
Videos:
Many thanks to MiniWookiee for his video! There's actually a few graphical bugs going on in this video due to (I believe) a conflict with another mod, but it's a great showcase nonetheless.
1.2.5: http://adf.ly/BMhxB (v1.3)
1.2.5 Forge 3.3.8 merge: http://adf.ly/BTjA1 (v1.3) - use if you have Forge installed
1.2.5 Optifine U C7 merge: http://adf.ly/BTj2m (v1.3) - use if you have Optifine installed
1.2.5 Forge 3.3.8 and Optifine U C7 merge: http://adf.ly/BTjIZ (v1.3) - use if you have Optifine and Forge installed
If you'd like a download for a different version, or if you find a conflict with another mod and would like me to merge them, post the version and/or mod and I'll be happy to provide another version. This mod is client-side only, and works on servers.
Bukkit server owners, fear not. If you don't want this mod being used on your servers, you can install the plugin located at http://adf.ly/BhGGQ, which will instruct this X-ray mod to disable itself on your server.
Compatibility
ModLoader - Fully working! Install ModLoader first, and this mod second.
Optifine - Currently working on a merged version.
Forge - Not yet. It'll take a bit of work to merge it, but I'm in the middle of a rewrite to make this much easier.
Installation Instructions
If you're using a version that's merged with another mod, install that other mod first, then this mod second. If you're using MCPatcher, install that last.
Make a backup copy of your minecraft.jar just in case.
Extract the class file(s) and folders from the provided zip file and drag them into your minecraft.jar (located in %appdata%/.minecraft/bin) using 7zip, WinRAR, or another archiver of your choice.
If you haven't already done so for another mod, delete the META-INF folder.
Start the game! No other mods are necessary.
Troubleshooting
There are some oddities that occur relating to transparency when fog is on. I'm still looking into that, but you can fix it by turning off fog.
Some users are reporting issues when installing with MCPatcher. I have not been able to reproduce these errors (install X-ray first, THEN patch, and it works fine for me). However, if you're having trouble, this might be worth taking into account.
If it doesn't work, tell me what version of Minecraft you're using, what mods you have installed, and what sort of problem you have (crash, black screen, etc). If Minecraft gives you an error log, post it in code tags. Don't just say, "It doesn't work," because I won't be able to help you if that's all you tell me. If it blackscreens, try to get an error log before coming here, because it's very difficult for me to just guess what went wrong.
The easiest way to get an error log is to go to the .minecraft folder, and open up the "crash-reports" folder. The most recent file in there should correspond to the most recent crash. It should be named something similar to "crash-2012-08-09_12.55.02-client".
Beyond that, you can also download the Linux launcher from here. Using the Command Prompt on Windows or the terminal on Linux or Mac, type "java -jar minecraft.jar" without the quotes, from in the folder where you saved the Linux launcher. Any errors will get outputted to the Command Prompt or the terminal.
Licensing
This mod is Copyright 2012 TLUL. You are free to download, use, modify, and redistribute this code, in source or in binary form, alone or as part of a collection, provided that the following four conditions are met:
You must retain this licensing notification in all documentation and source code.
You must not charge money or require payment from others in order to download or use this code or any derivative works.
You must not redistribute this code or any derivative works for profit, including for profit from advertisement-based websites, unless you have (at TLUL's discretion) contributed features or improvements to the code which you are redistributing.
You must provide a link to this page (as hosted at www.minecraftforum.net) along with all distributions of this code or any derivative works.
It would be awesome if you could do the forge version !, I'm tired of destroying my base (well...almost destroying) just because some redstone fails -.-
I unfortunately get a black screen when trying to use this. I have tried multiple times by dragging the class files from the xray zip to my minecraft.jar zip. I am running the 1.3 pre-release.
I think you've both explained your problem quite well. This is for version 1.3.1. You are running version 1.3.
It would be awesome if you could do the forge version !, I'm tired of destroying my base (well...almost destroying) just because some redstone fails -.-
As far as I'm aware there is no release of Forge for Minecraft 1.3.1. When it's out, I'll make sure this is merged as quickly as possible. I've been preparing as much as I can based on 1.2.5's Forge.
Quick note: It seems that on my computer, X-ray and cave finder don't work right below 25 opacity. I suspect this might be specific to my graphics card. Is anyone else noticing this?
Also, I uploaded a version for 1.3 since it seems to be confusing some people (there was a 1.3.1 pre-release earlier today, which will become the full version on Aug 1), and a version for 1.2.5 since it hasn't really been phased out yet.
The mod is not working for me, I have the 1.3.1 and when I am loggin is Black screen... I dont have any mod install and I delete the META-INF folder.......
The mod is not working for me, I have the 1.3.1 and when I am loggin is Black screen... I dont have any mod install and I delete the META-INF folder.......
Just a hunch - are you running Java 1.6? If so, then I probably compiled this for 1.7 by mistake. Fixing now, I'll edit this post when I've updated the links above.
Edit: Updated link for 1.3.1, others in progress. It should work fine now.
Do you not need Mod Loader to run this? As far as I know you had to use it to get this to work at all. If I am not mistaken, the title, nor the topic states Pre-release in the first place. 1.3.1 could refer to the old alpha as well.
Do you not need Mod Loader to run this? As far as I know you had to use it to get this to work at all. If I am not mistaken, the title, nor the topic states Pre-release in the first place. 1.3.1 could refer to the old alpha as well.
No, ModLoader is not required to run this. As for the name, it doesn't matter too much now, since I've added a 1.3 version. I sincerely doubt that anyone is still playing on Beta 1.3_01, and there was no Alpha 1.3x so that one's out too. Hopefully everything should be all cleared up now!
what are u guys talking about a 1.3.1 version there is o 1.3.1
Mojang has pre-released 1.3.1 a few days early to give modders like myself more chance to prepare for the full release. You can grab it from the latest update at mojang.com and drop it in place of your minecraft.jar in %appdata%/.minecraft if you want to try it out early.
I still get the black screen of doom. I downloaded the 1.3.1 from the forums. I then downloaded your updated 1.3.1 x-ray mod. Proceeded to drag the folders across, but still nothing :\. I took a screenshot of what i am dragging across, just to make sure I am doing it right?
Looks all right to me - just make sure they're going into minecraft.jar directly and not into one of the subfolders (for example, in that screenshot, it looks like they might be going into the net folder). Beyond that, I can't help without an error log.
If you need to get an error log, go to minecraft.net, go to the downloads page, and expand the section for "Other operating systems". Grab the one for Linux/Other, which should be called minecraft.jar. Go to the folder where you downloaded it to, shift-right-click on the background, and choose "Open command window here". Then type in "java -jar minecraft.jar" without the quotes, press enter, and you should get the normal launcher. However, error messages will be printed out to the command window, which you can paste here to help me figure out what's going wrong.
This mod is not working, I installed it correctly, pressing X and C does absolutely nothing.
Version: 1.3.1
MineCraft Launches, however, minecraft does not do anything by pressing x, or c.
Update:
Minecraft black screen:
Windows 7 Home Premium 64 Bit
Java 7 64-Bit
Java JDK 7 64-Bit
C:\Program Games\MineCraft>java -Xmx3072M -Xms3072M -cp Minecraft.jar net.minecr
aft.LauncherFrame
Exception in thread "Thread-5" java.lang.ClassFormatError: Illegal method name "
29 { 5} try ." in class jm
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at net.minecraft.client.MinecraftApplet.init(SourceFile:36)
at net.minecraft.Launcher.replace(Launcher.java:143)
at net.minecraft.Launcher$1.run(Launcher.java:87)
Terminate batch job (Y/N)?
your intentions for this mod is good, but the possible uses are extremely bad. for example, a griefer could find you undergound base and steal your precious diamonds using this mod
your intentions for this mod is good, but the possible uses are extremely bad. for example, a griefer could find you undergound base and steal your precious diamonds using this mod
X-Ray is bad for all servers. However, apparently it is not illegal according to Minecraft forums, thus you have to start your own background checks. First, use Bukkit and install anti x-ray mod, im sure it will be updated to the final release soon. Second, don't host vanilla server if you are afraid of this.
This mod is not working, I installed it correctly, pressing X and C does absolutely nothing.
Version: 1.3.1
MineCraft Launches, however, minecraft does not do anything by pressing x, or c.
Update:
Minecraft black screen:
Okay, it seems it was an overzealous pass by the obfuscator. What I find odd is that it runs perfectly fine on my computer. Time to remove that and release another version. We're off to a lovely first day, aren't we? (And to think it was running fine on my computer for the last week of testing it)
Okay, it seems it was an overzealous pass by the obfuscator. What I find odd is that it runs perfectly fine on my computer. Time to remove that and release another version. We're off to a lovely first day, aren't we? (And to think it was running fine on my computer for the last week of testing it)
As far as I can tell, it should now be fixed! The problem came down to the fact that the obfuscator was putting in characters that, while valid in bytecode, are invalid in Java code, and the ClassLoader used by the default launcher (but not the one I was testing with) chokes up on those characters. I fixed it by slapping the obfuscator with a large trout and recompiling.
Yes, the links are now updated. The reason why the mod worked fine using that method is because that bypassed the standard Minecraft launcher, which was where the problem was.
Now with 20% more blocks!
We've all been there: gold-strapped, hungry, desperately mining and wishing there were a way to find the treasure behind the rocks. Or maybe you've fought past that stage, and now you're building vast networks of tunnels and looking for an easier way to help line them up. Or maybe you're an engineer who wants to get a better look at buried circuits. Whatever the case may be, everyone can agree that X-ray vision certainly couldn't hurt. That's what this is for!
Yes, it's the X-Ray Mod! Enter X-ray mode with X, cave finder with C, and a host of other modes to give you superhero vision. The mod is fully configurable in-game (menu: Ctrl+X) to customize blocks, key bindings, and more!
Don't believe me? See for yourself!
X-ray mode:
More pictures:
Easy-to-use GUI lets you quickly configure your key bindings and more:
It's also easy to change what ores show up, from a familiar interface:
And you can change how much of the original terrain shows through:
Much better!
Trouble seeing at night? Not any more, with fullbright mode! (V key by default)
If you find that too bright, you can also use the Entity Highlight mode (Z key) to help stop those monsters from creeping up on you at night!
It can't stop them from kicking your ass, though.
Videos:
1.4.5: http://adf.ly/F0dzg (v2.0preview4) - Preview release! Notable bugs: occasional quirks with lava, keytoggles triggering in some GUIs
1.4.4: http://adf.ly/F0ddp (v2.0preview4)
1.4.2: http://adf.ly/E5eKO (v2.0preview3)
12w34b: http://adf.ly/CI4UP (v1.4.1)
12w34a: http://adf.ly/C9rhW (v1.4)
12w32a: http://adf.ly/Biy1S (v1.4)
Old versions:
1.3.2: http://adf.ly/BtJ2m (v1.4)
1.3.2 Optifine U A/B merge: http://adf.ly/BySzX (v1.4) - lighting bugs? Turn smooth lighting down
1.3.1: http://adf.ly/BMFUL (v1.4)
1.3.1 Optifine U A/B merge: http://adf.ly/BY0PI (v1.4) - lighting bugs? Turn smooth lighting down
1.3: http://adf.ly/BMhqg (v1.2)
1.2.5: http://adf.ly/BMhxB (v1.3)
1.2.5 Forge 3.3.8 merge: http://adf.ly/BTjA1 (v1.3) - use if you have Forge installed
1.2.5 Optifine U C7 merge: http://adf.ly/BTj2m (v1.3) - use if you have Optifine installed
1.2.5 Forge 3.3.8 and Optifine U C7 merge: http://adf.ly/BTjIZ (v1.3) - use if you have Optifine and Forge installed
If you'd like a download for a different version, or if you find a conflict with another mod and would like me to merge them, post the version and/or mod and I'll be happy to provide another version. This mod is client-side only, and works on servers.
Bukkit server owners, fear not. If you don't want this mod being used on your servers, you can install the plugin located at http://adf.ly/BhGGQ, which will instruct this X-ray mod to disable itself on your server.
Some users are reporting issues when installing with MCPatcher. I have not been able to reproduce these errors (install X-ray first, THEN patch, and it works fine for me). However, if you're having trouble, this might be worth taking into account.
If it doesn't work, tell me what version of Minecraft you're using, what mods you have installed, and what sort of problem you have (crash, black screen, etc). If Minecraft gives you an error log, post it in code tags. Don't just say, "It doesn't work," because I won't be able to help you if that's all you tell me. If it blackscreens, try to get an error log before coming here, because it's very difficult for me to just guess what went wrong.
The easiest way to get an error log is to go to the .minecraft folder, and open up the "crash-reports" folder. The most recent file in there should correspond to the most recent crash. It should be named something similar to "crash-2012-08-09_12.55.02-client".
Beyond that, you can also download the Linux launcher from here. Using the Command Prompt on Windows or the terminal on Linux or Mac, type "java -jar minecraft.jar" without the quotes, from in the folder where you saved the Linux launcher. Any errors will get outputted to the Command Prompt or the terminal.
This mod is Copyright 2012 TLUL. You are free to download, use, modify, and redistribute this code, in source or in binary form, alone or as part of a collection, provided that the following four conditions are met:
Damage Counter: http://www.minecraftforum.net/topic/1305492-/
I think you've both explained your problem quite well. This is for version 1.3.1. You are running version 1.3.
As far as I'm aware there is no release of Forge for Minecraft 1.3.1. When it's out, I'll make sure this is merged as quickly as possible. I've been preparing as much as I can based on 1.2.5's Forge.
Also, I uploaded a version for 1.3 since it seems to be confusing some people (there was a 1.3.1 pre-release earlier today, which will become the full version on Aug 1), and a version for 1.2.5 since it hasn't really been phased out yet.
Just a hunch - are you running Java 1.6? If so, then I probably compiled this for 1.7 by mistake. Fixing now, I'll edit this post when I've updated the links above.
Edit: Updated link for 1.3.1, others in progress. It should work fine now.
Bug Report
- X Does Nothing.
- C Does Nothing.
Installed via WinRar, Using 1.3.1 Pre-Release.
No other mods installed.
No, ModLoader is not required to run this. As for the name, it doesn't matter too much now, since I've added a 1.3 version. I sincerely doubt that anyone is still playing on Beta 1.3_01, and there was no Alpha 1.3x so that one's out too. Hopefully everything should be all cleared up now!
Mojang has pre-released 1.3.1 a few days early to give modders like myself more chance to prepare for the full release. You can grab it from the latest update at mojang.com and drop it in place of your minecraft.jar in %appdata%/.minecraft if you want to try it out early.
Looks all right to me - just make sure they're going into minecraft.jar directly and not into one of the subfolders (for example, in that screenshot, it looks like they might be going into the net folder). Beyond that, I can't help without an error log.
If you need to get an error log, go to minecraft.net, go to the downloads page, and expand the section for "Other operating systems". Grab the one for Linux/Other, which should be called minecraft.jar. Go to the folder where you downloaded it to, shift-right-click on the background, and choose "Open command window here". Then type in "java -jar minecraft.jar" without the quotes, press enter, and you should get the normal launcher. However, error messages will be printed out to the command window, which you can paste here to help me figure out what's going wrong.
Version: 1.3.1
MineCraft Launches, however, minecraft does not do anything by pressing x, or c.
Update:
Minecraft black screen:
Windows 7 Home Premium 64 Bit
Java 7 64-Bit
Java JDK 7 64-Bit
C:\Program Games\MineCraft>java -Xmx3072M -Xms3072M -cp Minecraft.jar net.minecr
aft.LauncherFrame
Exception in thread "Thread-5" java.lang.ClassFormatError: Illegal method name "
29 { 5} try ." in class jm
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at net.minecraft.client.MinecraftApplet.init(SourceFile:36)
at net.minecraft.Launcher.replace(Launcher.java:143)
at net.minecraft.Launcher$1.run(Launcher.java:87)
Terminate batch job (Y/N)?
hell yeah im just that good!
X-Ray is bad for all servers. However, apparently it is not illegal according to Minecraft forums, thus you have to start your own background checks. First, use Bukkit and install anti x-ray mod, im sure it will be updated to the final release soon. Second, don't host vanilla server if you are afraid of this.
Okay, it seems it was an overzealous pass by the obfuscator. What I find odd is that it runs perfectly fine on my computer. Time to remove that and release another version. We're off to a lovely first day, aren't we? (And to think it was running fine on my computer for the last week of testing it)
As long as im helping you get it fixed, its good.
Yes, the links are now updated. The reason why the mod worked fine using that method is because that bypassed the standard Minecraft launcher, which was where the problem was.
Version 1.2 (1.3.1) X-Ray
Status: Working
File a Complaint to Minecraft community