Перейти к содержимому
Mineforgian

Held Shield Damage Reduction

Passive damage reduction for held shields, including modded ones, with configurable per-entity and per-item overrides.

Загрузки
756
Подписчики
0
Обновлён
29 апреля 2026 г.
Лицензия
MIT

Опубликован 15 апреля 2026 г.

Held Shield DR adds passive damage reduction to shield type items inspired by the wonderful Passive Shield mod. Modded shields are supported out of the box, no extra configuration needed!

By default, players can gain damage reduction just by holding a shield. You can also extend that behavior to specific non-player entities, give certain entities their own custom values, or enable a fallback setting for other living entities if your pack needs it.

The mod also supports item specific overrides, so individual shields can use their own damage reduction values instead of the normal shared settings. That makes it easy to tune modded shields without changing the whole system.

Shield detection is flexible. It supports normal shield checks, common shield item behavior, and optional tooltip support (client needs it as well for it to show) so players can see what a shield is configured to do.

New in 1.1.2: shields can now optionally drain durability when passive DR is active, with configurable multiplier and cap options.

Example config

Spoiler

This example does a few different things at once:

  • Players get 33% passive shield damage reduction.
  • Players are allowed to use item specific shield overrides.
  • Touhou Little Maid maids are allowed to use passive shield DR.
  • They use a custom 65% value instead of the normal shared 33%.
  • Note: the entity IDs used here are from the 1.12.2 version of Touhou Little Maid. Other versions may use different IDs, for example 1.20.1 uses touhou_little_maid:maid instead of touhou_little_maid:entity.passive.maid. Always check the actual entity ID for your version.
  • Non-player entities not in the whitelist do not use passive shield DR by default.
  • If applyToAllEntities were enabled, those entities would use their own separate 33% fallback value.
  • A specific shield item can use its own custom DR.
  • Shield tooltips are enabled.
  • The extra item override suffix text is disabled.
general {
    B:enabled=true

    B:applyToPlayers=true
    B:playersUseItemOverrides=true
    D:damageReductionPercent=33.0

    B:applyToAllEntities=false
    D:allEntitiesDamageReductionPercent=33.0

    # Use entityWhitelist if you want an entity to use the normal shared damageReductionPercent value above.
    S:entityWhitelist <
        touhou_little_maid:entity.passive.maid
     >

    # Use entityDamageReductionOverrides if you want an entity to use its own custom value instead.
    # If an entity is listed here, it does not need to also be in entityWhitelist.
    # Overrides take priority over the shared whitelist value.
    S:entityDamageReductionOverrides <
        touhou_little_maid:entity.passive.maid;65.0
     >

    # If true, eligible non-player entities can also use itemDamageReductionOverrides.
    # Entities with their own per-entity override ignore item overrides.
    # Entities using entityWhitelist or applyToAllEntities keep the higher of their normal DR or the item override.
    B:entitiesUseItemOverrides=false

    S:itemDamageReductionOverrides <
        basemetals:diamond_shield;90.0
     >

    B:showShieldTooltips=true
    B:showItemOverrideText=false
}

Ченджлог

1.1.3+1.21.1-neoforgeРелиз1.21.1 · 29 апреля 2026 г.

Held Shield DR 1.1.3

Big config and parity pass across every shipped version.

Added

  • 1.21.1 NeoForge build
  • passiveBlockChance for chance-based passive shield DR
  • damageReductionMode with fixed and random_range
  • damageReductionMinPercent and damageReductionMaxPercent for range tuning
  • optional proc sound config with sound id, volume, pitch, and cooldown

Changed

  • all 12 builds now share the same shield DR feature set and config surface
  • default behavior stays the same unless you turn on the new knobs
  • publish setup was cleaned up so builds no longer depend on local Java paths

Build coverage

All 12 builds touched, all 12 ship:

1.12.2 Forge, 1.16.5 Forge, 1.16.5 Fabric, 1.18.2 Forge, 1.18.2 Fabric, 1.20.1 Forge, 1.20.1 Fabric, 1.20.4 NeoForge, 1.20.4 Fabric, 1.21.1 Forge, 1.21.1 NeoForge, 1.21.1 Fabric.

Upgrading

Drop in the new jar for your loader.

Existing configs still load fine. The new options will show up with their defaults when the config updates.

Issues

If something breaks, open an issue with your version, loader, and config. Makes debugging way faster.

1.1.3+1.20.4-neoforgeРелиз1.20.4 · 29 апреля 2026 г.

Held Shield DR 1.1.3

Big config and parity pass across every shipped version.

Added

  • 1.21.1 NeoForge build
  • passiveBlockChance for chance-based passive shield DR
  • damageReductionMode with fixed and random_range
  • damageReductionMinPercent and damageReductionMaxPercent for range tuning
  • optional proc sound config with sound id, volume, pitch, and cooldown

Changed

  • all 12 builds now share the same shield DR feature set and config surface
  • default behavior stays the same unless you turn on the new knobs
  • publish setup was cleaned up so builds no longer depend on local Java paths

Build coverage

All 12 builds touched, all 12 ship:

1.12.2 Forge, 1.16.5 Forge, 1.16.5 Fabric, 1.18.2 Forge, 1.18.2 Fabric, 1.20.1 Forge, 1.20.1 Fabric, 1.20.4 NeoForge, 1.20.4 Fabric, 1.21.1 Forge, 1.21.1 NeoForge, 1.21.1 Fabric.

Upgrading

Drop in the new jar for your loader.

Existing configs still load fine. The new options will show up with their defaults when the config updates.

Issues

If something breaks, open an issue with your version, loader, and config. Makes debugging way faster.

1.1.3+1.21.1-forgeРелиз1.21.1 · 29 апреля 2026 г.

Held Shield DR 1.1.3

Big config and parity pass across every shipped version.

Added

  • 1.21.1 NeoForge build
  • passiveBlockChance for chance-based passive shield DR
  • damageReductionMode with fixed and random_range
  • damageReductionMinPercent and damageReductionMaxPercent for range tuning
  • optional proc sound config with sound id, volume, pitch, and cooldown

Changed

  • all 12 builds now share the same shield DR feature set and config surface
  • default behavior stays the same unless you turn on the new knobs
  • publish setup was cleaned up so builds no longer depend on local Java paths

Build coverage

All 12 builds touched, all 12 ship:

1.12.2 Forge, 1.16.5 Forge, 1.16.5 Fabric, 1.18.2 Forge, 1.18.2 Fabric, 1.20.1 Forge, 1.20.1 Fabric, 1.20.4 NeoForge, 1.20.4 Fabric, 1.21.1 Forge, 1.21.1 NeoForge, 1.21.1 Fabric.

Upgrading

Drop in the new jar for your loader.

Existing configs still load fine. The new options will show up with their defaults when the config updates.

Issues

If something breaks, open an issue with your version, loader, and config. Makes debugging way faster.

1.1.3+1.20.1-forgeРелиз1.20.1 · 29 апреля 2026 г.

Held Shield DR 1.1.3

Big config and parity pass across every shipped version.

Added

  • 1.21.1 NeoForge build
  • passiveBlockChance for chance-based passive shield DR
  • damageReductionMode with fixed and random_range
  • damageReductionMinPercent and damageReductionMaxPercent for range tuning
  • optional proc sound config with sound id, volume, pitch, and cooldown

Changed

  • all 12 builds now share the same shield DR feature set and config surface
  • default behavior stays the same unless you turn on the new knobs
  • publish setup was cleaned up so builds no longer depend on local Java paths

Build coverage

All 12 builds touched, all 12 ship:

1.12.2 Forge, 1.16.5 Forge, 1.16.5 Fabric, 1.18.2 Forge, 1.18.2 Fabric, 1.20.1 Forge, 1.20.1 Fabric, 1.20.4 NeoForge, 1.20.4 Fabric, 1.21.1 Forge, 1.21.1 NeoForge, 1.21.1 Fabric.

Upgrading

Drop in the new jar for your loader.

Existing configs still load fine. The new options will show up with their defaults when the config updates.

Issues

If something breaks, open an issue with your version, loader, and config. Makes debugging way faster.

1.1.3+1.21.1-fabricРелиз1.21.1 · 29 апреля 2026 г.

Held Shield DR 1.1.3

Big config and parity pass across every shipped version.

Added

  • 1.21.1 NeoForge build
  • passiveBlockChance for chance-based passive shield DR
  • damageReductionMode with fixed and random_range
  • damageReductionMinPercent and damageReductionMaxPercent for range tuning
  • optional proc sound config with sound id, volume, pitch, and cooldown

Changed

  • all 12 builds now share the same shield DR feature set and config surface
  • default behavior stays the same unless you turn on the new knobs
  • publish setup was cleaned up so builds no longer depend on local Java paths

Build coverage

All 12 builds touched, all 12 ship:

1.12.2 Forge, 1.16.5 Forge, 1.16.5 Fabric, 1.18.2 Forge, 1.18.2 Fabric, 1.20.1 Forge, 1.20.1 Fabric, 1.20.4 NeoForge, 1.20.4 Fabric, 1.21.1 Forge, 1.21.1 NeoForge, 1.21.1 Fabric.

Upgrading

Drop in the new jar for your loader.

Existing configs still load fine. The new options will show up with their defaults when the config updates.

Issues

If something breaks, open an issue with your version, loader, and config. Makes debugging way faster.

1.1.3+1.20.4-fabricРелиз1.20.4 · 29 апреля 2026 г.

Held Shield DR 1.1.3

Big config and parity pass across every shipped version.

Added

  • 1.21.1 NeoForge build
  • passiveBlockChance for chance-based passive shield DR
  • damageReductionMode with fixed and random_range
  • damageReductionMinPercent and damageReductionMaxPercent for range tuning
  • optional proc sound config with sound id, volume, pitch, and cooldown

Changed

  • all 12 builds now share the same shield DR feature set and config surface
  • default behavior stays the same unless you turn on the new knobs
  • publish setup was cleaned up so builds no longer depend on local Java paths

Build coverage

All 12 builds touched, all 12 ship:

1.12.2 Forge, 1.16.5 Forge, 1.16.5 Fabric, 1.18.2 Forge, 1.18.2 Fabric, 1.20.1 Forge, 1.20.1 Fabric, 1.20.4 NeoForge, 1.20.4 Fabric, 1.21.1 Forge, 1.21.1 NeoForge, 1.21.1 Fabric.

Upgrading

Drop in the new jar for your loader.

Existing configs still load fine. The new options will show up with their defaults when the config updates.

Issues

If something breaks, open an issue with your version, loader, and config. Makes debugging way faster.

1.1.3+1.18.2-forgeРелиз1.18.2 · 29 апреля 2026 г.

Held Shield DR 1.1.3

Big config and parity pass across every shipped version.

Added

  • 1.21.1 NeoForge build
  • passiveBlockChance for chance-based passive shield DR
  • damageReductionMode with fixed and random_range
  • damageReductionMinPercent and damageReductionMaxPercent for range tuning
  • optional proc sound config with sound id, volume, pitch, and cooldown

Changed

  • all 12 builds now share the same shield DR feature set and config surface
  • default behavior stays the same unless you turn on the new knobs
  • publish setup was cleaned up so builds no longer depend on local Java paths

Build coverage

All 12 builds touched, all 12 ship:

1.12.2 Forge, 1.16.5 Forge, 1.16.5 Fabric, 1.18.2 Forge, 1.18.2 Fabric, 1.20.1 Forge, 1.20.1 Fabric, 1.20.4 NeoForge, 1.20.4 Fabric, 1.21.1 Forge, 1.21.1 NeoForge, 1.21.1 Fabric.

Upgrading

Drop in the new jar for your loader.

Existing configs still load fine. The new options will show up with their defaults when the config updates.

Issues

If something breaks, open an issue with your version, loader, and config. Makes debugging way faster.

1.1.3+1.16.5-forgeРелиз1.16.5 · 29 апреля 2026 г.

Held Shield DR 1.1.3

Big config and parity pass across every shipped version.

Added

  • 1.21.1 NeoForge build
  • passiveBlockChance for chance-based passive shield DR
  • damageReductionMode with fixed and random_range
  • damageReductionMinPercent and damageReductionMaxPercent for range tuning
  • optional proc sound config with sound id, volume, pitch, and cooldown

Changed

  • all 12 builds now share the same shield DR feature set and config surface
  • default behavior stays the same unless you turn on the new knobs
  • publish setup was cleaned up so builds no longer depend on local Java paths

Build coverage

All 12 builds touched, all 12 ship:

1.12.2 Forge, 1.16.5 Forge, 1.16.5 Fabric, 1.18.2 Forge, 1.18.2 Fabric, 1.20.1 Forge, 1.20.1 Fabric, 1.20.4 NeoForge, 1.20.4 Fabric, 1.21.1 Forge, 1.21.1 NeoForge, 1.21.1 Fabric.

Upgrading

Drop in the new jar for your loader.

Existing configs still load fine. The new options will show up with their defaults when the config updates.

Issues

If something breaks, open an issue with your version, loader, and config. Makes debugging way faster.

Комментарии

Загружаем…