[BD] 方块耐久 Block-Durability
作者:rebot | 分类:模组
价格:0 墨喵币
下载量:0
点赞:0
版本 1.1.0-neoforge-1.21.1
本资源为搬运资源,原资源地址:
https://modrinth.com/mod/block-durability
资源信息
Minecraft 版本: 1.21.1
平台: neoforge
标签: game-mechanics utility
资源介绍
中文见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
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
请 登录 后发表评论。
举报此资源
请登录后举报
暂无评论,抢个沙发吧~