• check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • 24,213 views, 11 today
  • 3,365 downloads, 1 today
  • 95
  • 88
  • 30
Deprecated's Avatar Deprecated
Level 76 : Legendary Modder
336
This data pack adds a configurable chance that natural stones will collapse in randomly shaped chunks when you go mining, to make mining more dangerous and exciting. Pickaxes enchanted with Unbreaking lessens the chance of a cave in, and higher levels of Unbreaking decrease the chance further.

Collapse chances and their default values, which can be changed with the respective scoreboard command;
# Height at or below which collapses can occur in the overworld [​Default = 63]
scoreboard players set overworld_height cave_c.dummy 63

# Percentage chance that stone types in the overworld will collapse when mined [​Default = 20]
scoreboard players set overworld_collapse cave_c.dummy 20

# Percentage chance that netherrack in the nether will collapse when mined [​Default = 20]
scoreboard players set nether_collapse cave_c.dummy 20

# Percentage chance that endstone in the end will collapse when mined [​Default = 0]
scoreboard players set end_collapse cave_c.dummy 0

# Percentage chance that collapsing blocks will chain to adjacent blocks [​Default = 50]
scoreboard players set chain cave_c.dummy 50

# The maximum number of blocks that can collapse at once [​Default = 32]
scoreboard players set collapse_max cave_c.dummy 32
CompatibilityMinecraft 1.17
toMinecraft 1.19
Tags

6 Update Logs

Version 7 : by Deprecated 12/25/2022 3:22:14 amDec 25th, 2022

Changes
  • Updated data pack format to 1.19.3
  • Cave collapse code is now more efficient.
  • Cave ins are in clumps rather than spindly lines like they were previously.
  • Increased the maximum amount of blocks per cave in.
  • Increased the minimum amount of blocks per cave in.
LOAD MORE LOGS

Create an account or sign in to comment.

1
10/08/2020 2:44 am
Level 23 : Expert Miner
1331hongkongoldplane
1331hongkongoldplane's Avatar
aw creeper!You suffocate!
1
09/14/2020 12:25 pm
Level 2 : Apprentice Crafter
PrismastebanZ
PrismastebanZ's Avatar
This looks pretty cool! Totally gonna give it a try :D
Time to put it in a server without telling my friend to scare her :P
2
06/27/2020 8:28 pm
Level 1 : New Crafter
Ezero2
Ezero2's Avatar
Can't change it to "force" the players to make mine strcuture? like ones on the abandoned mineshafts, if you put wood columns it lowers or removes the cance of collapse in certain radius, forcing the player to structure mines and give some more value to wood, no just mindless picking
2
06/27/2020 8:56 pm
Level 76 : Legendary Modder
Deprecated
Deprecated's Avatar
Not without creating a lot of lag every time the data pack has to search for wooden supports.
1
08/03/2020 6:22 pmhistory
Level 1 : New Miner
zornhau
zornhau's Avatar
maybe you could use functions similar to the ones used by treecapitator mods to check for leaves?
1
08/03/2020 9:29 pm
Level 76 : Legendary Modder
Deprecated
Deprecated's Avatar
I could, but even Treecapitator is laggy when it searches for blocks. Additionally, I'd rather keep the degree of freedom the player has currently with regard to how they build their own protections against cave-ins.
2
04/23/2020 8:45 pm
Level 13 : Journeyman Crafter
ManagerIsHere
ManagerIsHere's Avatar
god, it's really really good, but every time the datapack trigger, i jump of my chair
2
04/24/2020 12:08 am
Level 76 : Legendary Modder
Deprecated
Deprecated's Avatar
I'm glad you're enjoying it! If you reduce the volume of the Blocks volume slider it should be quieter.
3
02/24/2020 8:00 pm
Level 1 : New Explorer
DoogleSmile
DoogleSmile's Avatar
Ooh thank you for the sound fix.
Playing with headphones on and I'd often jump out of my skin when the super loud crashes happened!

I ended up tweaking the files myself to lower the volume, but that was several weeks ago now :)
2
02/25/2020 12:47 am
Level 76 : Legendary Modder
Deprecated
Deprecated's Avatar
You're welcome!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome