This is a simple resource pack that tries to prevent xray texture packs in 1.15+ when used as a server resource pack. This might be useful if there are no good ore obfuscation methods available for a new version yet (or for snapshots/pre-releases).
It works in a way that restores the default models of the ores (in the lite version) or all blocks (in the full one, but that breaks custom models from other resource packs) without overriding any textures of other resource packs. That way only the custom models that make it possible to xray are blocked allowing your players to still use other local packs without xray functionality.
If used as a server resource pack it will always override any other xray pack and apply the normal, non-see through blocks. You can then use a plugin to force server resource packs by kicking anyone who doesn't accept the pack download! (Or use 1.17's new required pack functionality)
Anti Xray Full (Stops see through blocks)
Anti Xray Lite (only hides ores)
Please note that this pack is not a 100% guarantee that your players wont be able to xray! There might be ways around this method. It also does not protect against xray mods! Use an obfuscater like the one built into Paper as soon as it's available!