PersistentBlockDamage-1.0.1.jar
Curse Maven Snippet
What's new
📦 Persistent Block Damage 1.0.1 — What's New
🔊 Material-Based Impact Sounds
-
Each block material has a distinct mining sound: stone, metal, wood, sand, dirt, glass, plus an extra tool-specific sound (axe on wood, shovel on sand).
-
Customizable mineral sounds with overrides (
block|#tag = sound). -
Configurable sound timing (
soundIntervalTicks, 4 = vanilla cadence).
💦 Water Effects
-
Splash effect + sound when mining underwater or when water is between your eyes and the block.
✨ Impact Particles
-
A burst of block particles occurs each time the crack stage advances.
🎚️ HUD Damage Bar (New)
-
Displays the % remaining damage of the targeted block, using colors (green/yellow/red), with amber when damage is being lost.
-
Dual control:
-
Global (admin):
/pdb hud global on|offor via the mod config. Disabled by default. -
Personal (player):
/pdb hud(toggle), persistent per player even after server restarts.
-
🖥️ Configuration GUI
-
Native config screen available from the Mods menu (no longer commands only), with EN/ES translations.
🛠️ New Commands
| Command | Who | Function |
|---|---|---|
/pdb hud |
Anyone | Toggle your damage bar |
/pdb hud on|off |
Anyone | Enable/disable your damage bar |
/pdb hud global [on|off] |
Admin | Damage bar for the entire server |
⚙️ New Config (persistentblockdamage-server.toml)
[feedback]
soundEnabled = true
soundIntervalTicks = 4
impactSoundOverrides = []
impactParticles = true
waterSplashEffects = true
[hud]
hudIndicator = false # GLOBAL bar, disabled by default
(renderDistance now also limits sound/HUD synchronization.)
🐛 Fixes
-
Fixed a crash on loading ("Cannot get config value before config is loaded") caused by reading the config from a static initializer.
-
Fixed command messages with correct color encoding.
This mod has no additional files

