[BD] 方块耐久 Block-Durability

Quick rating

Community listing page, reviews here may not be monitored by the author.

[BD] 方块耐久 Block-Durability

By zhuimeng1233Owner

No reviews yet

Make TaCZ guns truly destructive — no more binary "can hit / can't hit". Every bullet chips away at a block's HP, complete with crack progression effects for a deeply satisfying destruction feel.

Mod Loaders
Minecraft

About

Description

中文见GitHub

Block Durability

Give Minecraft blocks durability values — shoot them enough and they break!

Dependencies

  • NeoForge 1.21.1
  • TaCZ (Timeless & Classics Guns: Zero, NeoForge port) ≥ 1.1.6 — optional; the mod loads without errors when TaCZ is absent but will have no effect.

Features

  • Whitelist-based: only blocks listed in the config can be damaged by bullets
  • HP = Hardness × Multiplier: block HP is derived from vanilla hardness, with manual overrides available
  • Crack progression: damaged blocks display destruction crack stages (like player mining)
  • Particles & Sound: block break particles and hit sounds on impact
  • Tag matching: supports block tags (tag:minecraft:planks), automatically compatible with blocks from other mods

Default Breakable Blocks

Category Tag
Glass blocks tag:c:glass_blocks
Glass panes tag:c:glass_panes
Planks tag:minecraft:planks
Logs tag:minecraft:logs
Wooden doors tag:minecraft:wooden_doors
Wooden trapdoors tag:minecraft:wooden_trapdoors
Wooden stairs tag:minecraft:wooden_stairs
Wooden slabs tag:minecraft:wooden_slabs
Wooden buttons tag:minecraft:wooden_buttons
Wooden pressure plates tag:minecraft:wooden_pressure_plates
Signs tag:minecraft:standing_signs, etc.

Configuration

The config file is auto-generated at config/blockdurability-common.toml:

[general]
    enabled = true
    damagePerHit = 1.0            # Fixed damage per bullet hit
    useBulletDamage = false       # Use bullet entity damage instead

[whitelist]
    blockWhitelist = [
        "tag:c:glass_blocks",
        "tag:minecraft:planks",
        # ... supports tag: prefix and name wildcards
    ]

[hp_calculation]
    hardnessMultiplier = 1.5      # HP = max(minHP, hardness × multiplier)
    minBlockHP = 1.0
    blockHPOverrides = []         # Format: "minecraft:glass=2"

[effects]
    spawnBreakParticles = true
    playBreakSound = true
    dropItems = false