YUNG's Law (Forge)
Modby YUNGNICKYOUNG
Make players explore caves instead of stripmine!
Type
Mod
CurseForge Downloads
12,963,765
CurseForge ID
399377
Last Updated
Jun 11, 2026
Description
This project was a commission. I am no longer actively supporting it.

Use code YUNGNICKYOUNG at checkout for 25% off your first month!
BisectHosting is the official sponsor of YUNG's Minecraft mods! If you want to host a server for your friends or community, use code YUNGNICKYOUNG at checkout to get 25% off your first month as a new client for any of their gaming servers! All servers are plug-and-play, so you don't need to worry about setting anything up.

Thou shalt not strip mine.
This mod effectively prevents strip mining, encouraging you to explore some juicy caves instead.
Two different modes to choose from: Replacement Mode and Ore Deletion Mode.
Replacement Mode [Default]: Replaces all underground blocks that aren't close to a cave with obsidian (or block of your choice), effectively preventing strip mining.

Ore Deletion Mode: Simply removes ores that aren't near caves, rather than replacing all blocks. The block used for replacement is determined by the biome's filler block, usually stone. With this mode you can still make cool underground bases!
This mod is highly configurable. You can change:
- the block used for replacement,
- the distance from caves at which to begin replacing,
- the max altitude,
- and much more!
There are also options for dimension whitelisting!
Dimension-specific configs are supported! See the wiki for more information.
Ore Deletion Mode supports ores from the following mods:
- Quark
- Applied Energistics 2
Want support for another mod? Request it on Discord!
Note that even if a mod isn't explicity supported, you can easily add its blocks to the Ore Whitelist in the config for the same effect!!

If you like my work, please consider supporting me!


For quick help, send a message in one of the support channels on the Discord. There are plenty of people on there willing to answer questions.
Please read the FAQ on the Discord before asking!
Screenshots
Similar Mods
Iris Shaders
A modern shader pack loader for Minecraft intended to be compatible with existing OptiFine shader packs
Reese's Sodium Options
Alternative Options Menu for Sodium
ForgeEndertech
Shared library used by all Endertech mods
In Control!
Be In Control of mob spawns
Neat
Minimalistic Functional Unit Frames for the modern Minecrafter
iChunUtil
Shared library used by iChun's mods



