Block Physics
Realistic Block Physics for Minecraft
This mod implements an advanced block physics system similar to Enviromine or scaffolding functionality. Each block has a maximum overhang distance determined by its blast resistance. Blocks can extend a certain distance from a support - columns of blocks connected to a firmly anchored base or a block with high explosion resistance.
Blocks located too far from supporting structures will fall when the world updates.
Reinforcement Mechanics
The system includes an interesting reinforcement mechanic: when a block checks its 8 directions in the horizontal plane, it can increase its overhang distance if it detects a block with higher parameters within its own reach in that direction. This allows creating convenient light openings and encourages players to use architectural forms found in real life, such as frames for glass structures.
Special Block Types
Some blocks search for support not downward but upward. This behavior is characteristic of objects with the [sticky_blocks] tag, which includes fences, walls, chains, iron bars, and blocks from the GlassSoundGroup. This prevents the collapse of Nether structures and End islands.
Blocks with the [protected_blocks] tag have a minimum extension capability of 3 blocks, which protects trees from complete destruction during a single update.
Floating Blocks
Blocks with a slipperiness coefficient above 0.6 or located in the [floats] tag will float on the surface of liquids, including lava and water.
When Does Physics Activate?
The system checks neighboring blocks in the following situations:
- Player breaks a block
- Player places a block
- Fire destroys a block
- Explosion destroys a block