Wiki 9Minecraft Wiki 9Minecraft
Cave Spelunking Wiki › Guides › How to Include or Exclude Specific Ores from Cave-Only Spawning

How to Include or Exclude Specific Ores from Cave-Only Spawning

When playing alongside other mods that add custom minerals, or if you want a specific vanilla ore to ignore cave-wall placement, you can choose exactly which ores follow the cave-only restriction. This ensures full compatibility with modded ores that might otherwise fail to spawn properly.

Configuring Included and Excluded Ores

1. Note which vanilla or modded ores you want to adjust before editing your settings.

2. Open the mod's configuration menu or file and find the option to specify excluded and included ores.

3. Add an ore to the exclude list to exempt it from the cave-only restriction. Excluded ores will spawn inside solid terrain as normal without needing air, water, or lava nearby.

4. Add modded ores to the include list if they are bypassing the mod's mechanics and you want them restricted to cave walls, water bodies, and lava pools.

5. Save your changes and restart the game if prompted, then explore newly generated chunks underground to confirm your custom ore rules are active.