Mineuniverse
Data Packs
Cave-Ins

Cave-Ins

DATA PACK
Make Mining More Interesting With Falling Blocks! Multiplayer-Friendly!
by Lettooce
Download Claim this project
Add a badge to your pageLink to Cave-Ins from a README, website or forum post.
Preview: Badge

Badges update automatically and link to the data pack page on MineUniverse.

10,520 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Adventure Miscellaneous
Advertisement Remove ads with Premium →

The Cave-Ins datapack brings customizable, multiplayer-friendly mining physics to your game without mods!

Ceiling blocks in caves now have a tendency to fall when you mine them, resulting in a randomized, small, or even massive cave-in. Use supports to prevent cave-ins in a 15 block radius, or use silk touch on your tools to ignore the risk all together. There's even an in-game config so you can adjust cave-in chances and features for an easier or more difficult experience.

 


 Cave-Ins and Massive Cave-Ins

Every time you mine a block in the "Trigger Blocks" list that has 2 blocks of air under it, you run the risk of causing a cave-in.

Small cave-ins are common and usually only provoke a handful of blocks to fall, but massive cave-ins can be devastating and span a large area if you're not careful.

The chances of Cave-Ins and Massive Cave-Ins is configurable - see the "Config" tab to see how.

Random Cave-Ins can occur around you at depths lower than y=30. They get more frequent as you delve deeper, making supports necessary.

 

 

 

Support Structures

Building supports is crucial in preventing Cave-Ins. To build a support, simply place a Stripped Log of any type between 2 Polished Deepslate blocks in the crafting grid.

Supports can be a minimum height of 2-blocks and a maximum height of 10-blocks. They will support any blocks in a 12-block range from the top of the support.

Holding a Soul Lantern in your offhand with a Pickaxe in your mainhand will reveal the support status of the block you're facing within reach if it could potentially trigger a Cave-In.

Red particles indicate an unsupported block, while cyan particles indicate a supported block.

 
 
 
 
 
 
 

 

TNT Cave-Ins

TNT will always cause a Massive Cave-In if there is a block within 5 blocks above it. This makes TNT a more effective tool when mining, since Massive Cave-Ins often reveal pockets of ore. This also makes it perfect for sealing off small caves.

To prevent a TNT Cave-In, simply place any trapdoor on top of the TNT to "cap" it before igniting it. Cave-Ins caused by TNT will not be prevented by nearby supports!

 
 
 
 

 

 

 Config

To open the config, type the following command into chat: /function cave_in:config

Here you can adjust Cave-In chances and enable/disable features.

Please use the Uninstall button before removing this datapack. This will cleanup the scoreboard and any entities this datapack was using.

 

 

Trigger Blocks

Here's the current list of blocks that can trigger a Cave-In when mined:

"minecraft:deepslate",
"minecraft:cobbled_deepslate",
"minecraft:stone",
"minecraft:cobblestone",
"minecraft:andesite",
"minecraft:granite",
"minecraft:diorite",
"minecraft:tuff",
"minecraft:dripstone_block",
"minecraft:coal_ore",
"minecraft:iron_ore",
"minecraft:gold_ore",
"minecraft:emerald_ore",
"minecraft:redstone_ore",
"minecraft:lapis_ore",
"minecraft:copper_ore",
"minecraft:diamond_ore",
"minecraft:deepslate_coal_ore",
"minecraft:deepslate_iron_ore",
"minecraft:deepslate_gold_ore",
"minecraft:deepslate_emerald_ore",
"minecraft:deepslate_redstone_ore",
"minecraft:deepslate_lapis_ore",
"minecraft:deepslate_copper_ore",
"minecraft:deepslate_diamond_ore",
"minecraft:terracotta",
"minecraft:white_terracotta",
"minecraft:light_gray_terracotta",
"minecraft:gray_terracotta",
"minecraft:black_terracotta",
"minecraft:red_terracotta",
"minecraft:orange_terracotta",
"minecraft:yellow_terracotta",
"minecraft:lime_terracotta",
"minecraft:green_terracotta",
"minecraft:cyan_terracotta",
"minecraft:light_blue_terracotta",
"minecraft:blue_terracotta",
"minecraft:purple_terracotta",
"minecraft:magenta_terracotta",
"minecraft:pink_terracotta",
"minecraft:brown_terracotta",
"minecraft:sandstone",
"minecraft:red_sandstone",
"minecraft:dirt",
"minecraft:grass_block",
"minecraft:podzol",
"minecraft:dirt_path",
"minecraft:coarse_dirt",
"minecraft:clay",
"minecraft:farmland"

 





This datapack is 100% multiplayer-friendly!


A note on optimization: I've spent the past several months slowly piecing this datapack together and making it as performant as possible. Watching it go from unplayable to having little to no performance impact has been amazing. However, please note that I have done pretty minimal server testing for this pack, so it may not be suitable for large volume servers depending on server resources. Expect TPS drops when Massive Cave-Ins occur - in some instances, there could be 100+ falling block entities at a time. Disabling falling block particles and sound effects in the config can help reduce lag if you're having issues.

Cave-Ins_Release_v1.3-1.21-1.21.1.zip
MC 1.21, 1.21.1
Release 2025-08-05 Get
Cave-Ins_Release_v1.3-1.21.2-1.21.3.zip
MC 1.21.3, 1.21.2
Release 2025-08-05 Get
Cave-Ins_Release_v1.3-1.21.4.zip
MC 1.21.4
Release 2025-08-05 Get
Cave-Ins_Release_v1.3-1.21.5+.zip
MC 1.21.5, 1.21.8, 1.21.7, 1.21.6, 1.21.9-snapshot
Release 2025-08-05 Get
Cave-Ins Datapack v1.3
MC 1.20.3-Snapshot, 1.20.3, 1.20.4
Release 2024-09-09 Get
Cave-Ins Release v1.3
MC 1.21.2-Snapshot, 1.21, 1.21.1-Snapshot, 1.21-Snapshot, 1.21.1
Release 2024-09-09 Get
Cave-Ins Release v1.2
MC 1.20.2, 1.20.2-Snapshot, 1.20.1, 1.20, 1.20-Snapshot
Release 2024-09-09 Get

Requirements & install

How to use this data pack in Minecraft
Mods needed
None, works in vanilla
Minecraft
1.21.2 – 1.21.9-snapshot
Install folder
saves/<world>/datapacks

How to install data packs

  1. Download the data pack .zip file (do not extract it).
  2. New world: click Data Packs on the world creation screen and drop the .zip in. Existing world: open .minecraft/saves/<world>/datapacks.
  3. Put the .zip into the datapacks folder of the world (servers: world/datapacks).
  4. Run /reload in game (or rejoin the world) and check it with /datapack list.
Browse more: Data Packs for 1.21.9-snapshot All data packs

More from Lettooce

Advertisement Remove ads with Premium →

You Might Also Like