

Rock Attac - Armor Protec
Enables vanilla armor to natively mitigate crushing damage from falling blocks.

Description
<h2 role="heading">Cave-In Armor and Falling Blocks Protection</h2> <p><em>"No dwarves were crushed during the making of this mod."</em></p> <p> </p> <div>This mod fixes a vanilla limitation where falling blocks from cave-ins or landslides completely bypass your armor protections, leaving you to take full raw damage regardless of your gear.</div> <h4><span style="background-color: #fbeeb8;"> Now with online repo and verifiable file integrity! </span></h4> <h2 role="heading">Key Features </h2> <div> <ul> <li><em>Purely Server-Side</em>: Clients don't need to download anything. Just drop it into the server's mod folder and start mining.</li> <li><em>Highly Configurable</em>: Tailor your experience in the way you enjoy it.</li> </ul> </div> <h2 role="heading">Configuration & Modes </h2> <div>Upon the first server boot, a configuration file named <code dir="ltr">caveinarmorConfig.json</code> will be generated inside your <code dir="ltr">ModConfig</code> directory.</div> <div>New versions will automatically upgrade your configuration files. If an upgrade fails, the mod will generate a new default configuration and rename the old, obsolete file with a <strong class="rQesXe MPyX" data-sfc-cp="" data-sfc-root="ep" data-complete="true" data-copy-service-computed-style="font-family: "Google Sans", Arial, sans-serif; font-size: 16px; font-weight: 700; margin: 0px; text-decoration: none; border-bottom: 0px rgb(230, 232, 240);">.bad</strong> extension. This follows the <strong class="rQesXe MPyX" data-sfc-cp="" data-sfc-root="ep" data-complete="true" data-copy-service-computed-style="font-family: "Google Sans", Arial, sans-serif; font-size: 16px; font-weight: 700; margin: 0px; text-decoration: none; border-bottom: 0px rgb(230, 232, 240);">Non-Destructive Error Handling</strong> principle ensuring your old settings are never accidentally deleted.</div> <div>These files are completely safe; you can inspect them to recover your old values or delete them manually if they are no longer needed.</div> <div> </div> <div>You can customize the mod with two distinct protection systems:</div> <h3 style="padding-left: 40px;" role="heading">1. Layered Mode (Default)</h3> <p style="padding-left: 40px;" role="heading"><em><code dir="ltr">"UseLayered": true</code></em></p> <p style="padding-left: 40px;"> </p> <div style="padding-left: 40px;">A more immersive "mining safety" experience. Boulders striking you will hit your entire body sequentially, filtering damage <strong>from top to bottom</strong>. There are 3 distinct situations, and you can configure individual effectiveness multipliers for each slot:</div> <div> <div> <div> <div class="spoiler"> <div class="spoiler-toggle" style="padding-left: 40px;">Spoiler!</div> <div class="spoiler-text"> <div style="padding-left: 40px;">- VERTICAL fall: Vertical: {</div> <div style="padding-left: 40px;"> * LayeredHeadMultiplier: Helmet effectiveness (Default: 1.0 - 100%)</div> <div style="padding-left: 40px;"> * LayeredTorsoMultiplier: Chestplate effectiveness (Default: 0.5 - 50%)</div> <div style="padding-left: 40px;"> * LayeredLegsMultiplier: Greaves effectiveness (Default: 0.1 - 10%)</div> <div style="padding-left: 40px;">}</div> <div style="padding-left: 40px;"> <div style="padding-left: 40px;"> </div> <div>- HORIZONTAL bounce: Horizontal: {</div> <div> * LayeredHeadMultiplier: Helmet effectiveness (Default: 0.0 - 0%)</div> <div> * LayeredTorsoMultiplier: Chestplate effectiveness (Default: 0.5 - 50%)</div> <div> * LayeredLegsMultiplier: Greaves effectiveness (Default: 1.0 - 100%)</div> <div>}</div> <div> <div> </div> <div> <div> <div>- UNDER_FEET slide: uses <strong>only</strong> Horizontal.LayeredLegsMultiplier.</div> </div> </div> </div> </div> </div> </div> <h3 style="padding-left: 40px;" role="heading">2. Lottery Mode</h3> <p style="padding-left: 40px;" role="heading"><em><code dir="ltr">"UseLayered": false</code></em></p> <p style="padding-left: 40px;"> </p> <div style="padding-left: 40px;">Mirrors the native vanilla combat mechanics. Boulders falling on you will roll a random lottery to hit one specific body slot based on standard game weights (20% Head, 50% Torso, 30% Legs). Only the targeted piece will mitigate the damage and lose durability.</div> </div> </div> </div> <h3 style="padding-left: 40px;" role="heading">Other Global Parameters:</h3> <div> <div class="spoiler"> <div class="spoiler-toggle" style="padding-left: 40px;">Spoiler!</div> <div class="spoiler-text"> <div> <ul> <li style="list-style-type: none;"> <ul> <li style="list-style-type: none;"> <ul> <li><code dir="ltr">ConfigVersion</code>: File verion number for integrity check.</li> </ul> </li> </ul> </li> </ul> </div> <ul> <li style="list-style-type: none;"> <ul> <li style="list-style-type: none;"> <ul> <li><code dir="ltr">Enabled</code>: Instantly toggle the mod on or off. (Default: true)</li> <li><code dir="ltr">EnableDebugLogging</code>: Outputs real-time damage mitigation and slot-targeting logs directly to your server console. (Default: false)</li> <li><code dir="ltr">DurabilityDamageMultiplier</code>: Scales how much durability armor loses when crushed. Set to <code dir="ltr">0.0</code> if you want armor to block rocks without losing durability. (Default: 0.1 - 10%)</li> <li><code dir="ltr">MinimumDamageThreshold</code>: The absolute minimum damage a player will always take from a cave-in, preventing late-game players from completely cheesing collapsing mines. (Default: 0.5)</li> </ul> </li> </ul> </li> </ul> </div> </div> <h2>Security & Automated Builds</h2> <p>To guarantee safety and complete transparency:</p> <p><strong>Automated Cloud Builds:</strong> Every release is compiled automatically from open-source code using GitHub Actions in an isolated environment. No local binaries manually uploaded
Ratings & reviews
Sign in to leave a rating or comment.

