Disruption - Realistic Cave-in Physics for Minecraft
This mod introduces realistic cave-in and falling block mechanics to the game. Blocks can collapse and deal damage to players and mobs!
Key Features
The mod requires server-side installation only. Client installation is optional. Importantly, the mod does not affect world saves or other NBT data.
The system works as follows: blocks check for supports along 8 directions on the X-Z plane, similar to a queen's movement pattern in chess. The search range depends on block hardness (mining time) and blast resistance.
Cave-in Mechanics
Blocks only validate their supports and check if they need to fall when disruption events occur. A limited number of blocks are validated per disruption event (default: 50).
Disruption events include:
- Block placement
- Block destruction
- Fire spread
- Explosions
Damage System
Falling blocks deal damage similar to anvils - based on fall distance. Damage is calculated using a special formula that considers block hardness.
Special Block Types
Floating Blocks
Some blocks don't require supports and can float freely in the air. These include obsidian and blocks with high blast resistance.
Hanging Blocks
These blocks can have supports both below and above. They include glowing blocks and glass, preventing constant cave-ins in the Nether.
Protected Blocks
Have extended support search range, preventing overly frequent cave-ins and protecting trees from complete destruction.
Buoyant Blocks
Don't start falling when resting on liquids. This allows creating boats and bridges without additional supports.