Make all transparent blocks render as separate units from opaque blocks, even if they don't have any actual transparency. Now if you put the player's head into them and try to look through stone, all you see is stone texture in your face. You can still use an opaque block to do x-ray but now you have to suffocate while looking.
Anyone with cheats enabled or OP status can go to spectator mode to do x-ray just the same as always, so it won't affect people doing it legitimately.
Rollback Post to RevisionRollBack
I want ocean content(thanks Möjang!), nether biomes(again thanks!!), and savanna passive mobs (meerkats incoming!?).
If you could magically fix the bug without affecting anything else at all, that'd be great. Unfortunately, I suspect that the suggested change would slow down the rendering considerably, and possibly cause other problems.
Nope. Game already does this stuff all the time. It's entirely a selective choice. Glass and leaves don't create excess lag.
I also suspect that people would find a way around it before it'd even come out of beta.
Sure, they'll find one of the other remaining obvious ways, such as tricking the client into loading distant chunks before near chunks. All of the ways are easy to find, and easy to patch without hurting the game. This could have been fixed a long time ago if Mojang really cared to fix it.
Rollback Post to RevisionRollBack
I want ocean content(thanks Möjang!), nether biomes(again thanks!!), and savanna passive mobs (meerkats incoming!?).
The main problem is that all of that is client side. Most people using x-ray exploits don't use bugs in the game, but use custom clients, and those clients don't have to abide by what the vanilla one does.
Another issue is that you can use a resource pack to change the block models - forget about traditional x-ray texture packs, which only let you see ores that are exposed - these let you replicate x-ray mods that show all ore, hidden or otherwise, and in order to fix this you'd have to remove the ability to change block models or restrict them to only a few blocks:
For comparison, this is a normal x-ray resource pack or what you can see with Spectator mode:
A better solution is to have servers be able to detect if you are using a resource pack and enforce their own or disable non-default packs (you could still open the jar and edit it that way but the game could also tell the server whether it is modded or not).
Another issue is that you can use a resource pack to change the block models - forget about traditional x-ray texture packs, which only let you see ores that are exposed - these let you replicate x-ray mods that show all ore, hidden or otherwise, and in order to fix this you'd have to remove the ability to change block models or restrict them to only a few blocks:
For comparison, this is a normal x-ray resource pack or what you can see with Spectator mode:
A better solution is to have servers be able to detect if you are using a resource pack and enforce their own or disable non-default packs (you could still open the jar and edit it that way but the game could also tell the server whether it is modded or not).
What if having non-transparent blocks with transparent textures gave a resource pack a special property? This way servers could disable x-ray resource packs.
Those packs don't work anymore. Opaque blocks cannot be made to reveal more than they should. It just results in your bog standard 'black tubes everywhere' look.
Those packs don't work anymore. Opaque blocks cannot be made to reveal more than they should. It just results in your bog standard 'black tubes everywhere' look.
That's from the resource pack I previously linked to - which is for 1.12, the current version. What actually doesn't work anymore are traditional x-ray resource packs which simply use a transparent texture for an opaque block - these new packs modify the actual block models and can even let you emulate actual x-ray mods which let you see blocks which are completely surrounded by solid blocks, which is impossible to do just by changing a texture (you have to make the game think that stone (etc) is a transparent block so the faces of other blocks adjacent to them are rendered).
Just to confirm, I downloaded the pack linked above and looked in the files and found the following file (xray.json) used as a model for blocks like stone; it appears to change the model from a cube to a wireframe outline:
Make all transparent blocks render as separate units from opaque blocks, even if they don't have any actual transparency. Now if you put the player's head into them and try to look through stone, all you see is stone texture in your face. You can still use an opaque block to do x-ray but now you have to suffocate while looking.
Anyone with cheats enabled or OP status can go to spectator mode to do x-ray just the same as always, so it won't affect people doing it legitimately.
I want
ocean content(thanks Möjang!),nether biomes(again thanks!!), and savanna passive mobs (meerkats incoming!?).There are plenty of obvious solutions to x-ray, they just aren't implemented.
Why am I here
Why not remove a bug from the game?
Support
Nope. Game already does this stuff all the time. It's entirely a selective choice. Glass and leaves don't create excess lag.
Sure, they'll find one of the other remaining obvious ways, such as tricking the client into loading distant chunks before near chunks. All of the ways are easy to find, and easy to patch without hurting the game. This could have been fixed a long time ago if Mojang really cared to fix it.
I want
ocean content(thanks Möjang!),nether biomes(again thanks!!), and savanna passive mobs (meerkats incoming!?).The main problem is that all of that is client side. Most people using x-ray exploits don't use bugs in the game, but use custom clients, and those clients don't have to abide by what the vanilla one does.
Another issue is that you can use a resource pack to change the block models - forget about traditional x-ray texture packs, which only let you see ores that are exposed - these let you replicate x-ray mods that show all ore, hidden or otherwise, and in order to fix this you'd have to remove the ability to change block models or restrict them to only a few blocks:
https://minecraft.curseforge.com/projects/xray-ultimate-1-11-compatible
For comparison, this is a normal x-ray resource pack or what you can see with Spectator mode:
A better solution is to have servers be able to detect if you are using a resource pack and enforce their own or disable non-default packs (you could still open the jar and edit it that way but the game could also tell the server whether it is modded or not).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
What if having non-transparent blocks with transparent textures gave a resource pack a special property? This way servers could disable x-ray resource packs.
Check out my suggestions! Here is one of them:
Those packs don't work anymore. Opaque blocks cannot be made to reveal more than they should. It just results in your bog standard 'black tubes everywhere' look.
They don't?
Xray Ultimate 1.12 v2.2.1.zip
That's from the resource pack I previously linked to - which is for 1.12, the current version. What actually doesn't work anymore are traditional x-ray resource packs which simply use a transparent texture for an opaque block - these new packs modify the actual block models and can even let you emulate actual x-ray mods which let you see blocks which are completely surrounded by solid blocks, which is impossible to do just by changing a texture (you have to make the game think that stone (etc) is a transparent block so the faces of other blocks adjacent to them are rendered).
Just to confirm, I downloaded the pack linked above and looked in the files and found the following file (xray.json) used as a model for blocks like stone; it appears to change the model from a cube to a wireframe outline:
For comparison, this is the vanilla cube.json model used for cube blocks:
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?