Bored by finding your diamonds legitimately? This mod is for you!
Configs :
5 keys (can be changed in config)
- X : toggle Xray

- C : toggle Cave Mode

- R : redstone mode

- H : toggle fullbright

(No light needed)
N - Open Xray menu

You can change the blocks one by one

From the list of blocks in the game (even from other mods)

If your version is before the 1.17, the menu is like that: (You need to change the ids one by one)

Here you can enable/disable Xray, Cave Mode, Redstone Mode, Fullbright and location on the HUD and add/remove to /reset Blocks lists of cave, redstone and Xray mode
Custom modes:
You can create you own mode in Xray by adding in the xray.json in "customModes" names of new modes:theType
Types are :
EXCLUSIVE: like in Xray and Redstone mode
INCLUSIVE: like in Cave Mode
For example:
"customModes": [
"myMode:EXCLUSIVE"
],
"Custom_myModeBlocks": [
"minecraft:tnt"
],
Will create a custom mode call "myMode" with the type Exclusive and show only TNT
