This is a bit of a work in progress, I added a GUI. If you hold down CTRL while hitting X (or whatever key you set it to) it will open a list where you can make whatever you want invisible. It doesn't currently save your configurations, and the names are confusing (they are directly from the code). It also requires Risugami's ModLoader. Once I get the kinks worked out I'll release it for both.
X-Ray 8: -modsnip: url-
Edit:
Forgot a file in 6, only matters if you aren't using the ModLoader.
X-Ray 7: -modsnip: url-
Edit:
Rewrote it, now it edits the RenderBlocks.java file. Hopefully this will conflict with less other mods, I really don't know though.
With or without ModLoader you can configure the block ID's made invisible.
You can now change the key to invoke the mod, look in the readme.txt file.
X-Ray 6: -modsnip: url-
Edit:
I forgot a file for the Beta 1.1_02 version.
X-Ray 5: -modsnip: url-
Edit:
For those of you using X-Ray 3, nothing new. This just adds the non ModLoader version, and Beta 1.1_02 version to the rar.
X-Ray 4: -modsnip: url-
Edit:
This update makes the mod ignore the x key when the chat or edit sign windows are up, as well as adding an editable blacklist for blocks you want removed.
Run it once, it will create a file called X-ray.txt in your minecraft directory. That file lists every invisible block by id, one id per line.
X-Ray 3: -modsnip: url- (Requires ModLoader)
Edit:
I have attempted to integrate it with ModLoader. Therefore, you will need ModLoader to run this version. I also changed it from a white list to a black list. This means I explicitly state a few types of blocks not to be rendered rather than stating the blocks that I allow to be rendered. The invisible blocks are Grass, Dirt, Sand, Gravel, Stone, Cobblestone, and Bedrock (It is disorienting to have them visible). If you have any requests on blocks to make visible/invisible feel free to comment.
X-Ray 2: -modsnip: url- (Requires ModLoader)
p.s. I have no idea why leaves turn white. Pretty freaky looking.
Original:
The modified files are the base block class, and its subclasses for fluids and ice, to make them visible or invisible as the case may be. Also the Minecraft client to add the key to enable and disable (the X key).
I don't know how other people make mod's work together more elegantly, I will look into it when I have some time.
Until then, hit the X key and all the boring stuff becomes invisible.
I'm sorry for being nub, but how do you install it? I got all the class files in, but I'm not sure what to do with the minecraft.class file.
Edit: I made progress and at least got it to the point where it just won't load, meaning I probably messed up somewhere, All the editing is in the minecraft.jar correct?
I seem to be having problems, after installing the mod when I boot up Minecraft I can only get to the "Updating Minecraft" screen, then it freezes. Can you help me?
Hit the X key and all the boring stuff becomes invisible. Hit CTRL-X and you can edit the list of invisible blocks.
Installation Instructions:
Download Risugami's ModLoader v4 without the grass fix.
Download the newest versino of X-Ray below.
Extract the ModLoader archive into minecraft.jar.
Extract the X-Ray archive into minecraft.jar
Delete the META-INF folder.
Have fun.
Edit:
You can now control the visibility of stone through the GUI. I also fixed a bug which caused the Xray.txt to grow every time you started the game.
X-Ray 11: -modsnip: url-
Currently this seems to work only with ModLoader v4. It works with the grass fix version, though I think it breaks the fix.
Edit:
Added an image of the texture being made invisible to the GUI list. Changes you make in the GUI are now saved in Xray.txt in your minecraft folder.
X-Ray 10: -modsnip: url-
PS: Install X-Ray after you have installed Risugami's ModLoader. One of my files must overwrite one of his.
Edit:
Updated to Beta 1.3_01
All subsequent versions will require Risugami's ModLoader.
X-Ray 9: -modsnip: url-
Edit:
This is a bit of a work in progress, I added a GUI. If you hold down CTRL while hitting X (or whatever key you set it to) it will open a list where you can make whatever you want invisible. It doesn't currently save your configurations, and the names are confusing (they are directly from the code). It also requires Risugami's ModLoader. Once I get the kinks worked out I'll release it for both.
X-Ray 8: -modsnip: url-
Edit:
Forgot a file in 6, only matters if you aren't using the ModLoader.
X-Ray 7: -modsnip: url-
Edit:
Rewrote it, now it edits the RenderBlocks.java file. Hopefully this will conflict with less other mods, I really don't know though.
With or without ModLoader you can configure the block ID's made invisible.
You can now change the key to invoke the mod, look in the readme.txt file.
X-Ray 6: -modsnip: url-
Edit:
I forgot a file for the Beta 1.1_02 version.
X-Ray 5: -modsnip: url-
Edit:
For those of you using X-Ray 3, nothing new. This just adds the non ModLoader version, and Beta 1.1_02 version to the rar.
X-Ray 4: -modsnip: url-
Edit:
This update makes the mod ignore the x key when the chat or edit sign windows are up, as well as adding an editable blacklist for blocks you want removed.
Run it once, it will create a file called X-ray.txt in your minecraft directory. That file lists every invisible block by id, one id per line.
X-Ray 3: -modsnip: url- (Requires ModLoader)
Edit:
I have attempted to integrate it with ModLoader. Therefore, you will need ModLoader to run this version. I also changed it from a white list to a black list. This means I explicitly state a few types of blocks not to be rendered rather than stating the blocks that I allow to be rendered. The invisible blocks are Grass, Dirt, Sand, Gravel, Stone, Cobblestone, and Bedrock (It is disorienting to have them visible). If you have any requests on blocks to make visible/invisible feel free to comment.
X-Ray 2: -modsnip: url- (Requires ModLoader)
p.s. I have no idea why leaves turn white. Pretty freaky looking.
Original:
The modified files are the base block class, and its subclasses for fluids and ice, to make them visible or invisible as the case may be. Also the Minecraft client to add the key to enable and disable (the X key).
I don't know how other people make mod's work together more elegantly, I will look into it when I have some time.
Until then, hit the X key and all the boring stuff becomes invisible.
X-Ray 1: -modsnip: url- (Doesn't require ModLoader)
Mod edit: removed download links
If you want to use my code, feel free.
If you don't understand it, ask.
Edit: Turns out people can't use this mod responsibly in SMP.
If you want to use my code, feel free.
If you don't understand it, ask.
If you want to use my code, feel free.
If you don't understand it, ask.
Oh, that's cool, I will actually use that :3
Edit: I made progress and at least got it to the point where it just won't load, meaning I probably messed up somewhere, All the editing is in the minecraft.jar correct?
If you want to use my code, feel free.
If you don't understand it, ask.