← Назад к ресурсам

Kev's Projectile Immunity Fix

Allows multiple projectiles to hit at the same time but balanced!

Modrinth game-mechanics

Описание

# 📜 Projectile Immunity Fix **Projectile Immunity Fix** is a lightweight Fabric mod that balances projectile damage by reworking Minecraft’s invulnerability frames (i-frames) when hit by multiple projectiles, like arrows, thrown weapons, or magic bolts. In vanilla Minecraft, when a mob is hit by one projectile, it becomes briefly invulnerable (i.e., i-frames) — **even if many projectiles hit at once**. --- # ⚙️ How It Works - When an entity (non-player) is struck by a projectile, it **temporarily disables** invulnerability frames. - This allows **multiple projectiles** to fully deal damage without being blocked by hurt cooldowns. - After a configurable number of projectile hits, a **cooldown** kicks in, restoring vanilla i-frames temporarily to prevent spamming. > **Note:** Players are **not affected** — only mobs and other living entities. > **Mods used to test with**: **Dummy mod**, **Too Many Bows Mod** --- # 🛠️ Configuration A simple config file (`config/projectileimmunityfix.json`) is generated on first launch, with the following options: | Setting | Description | Default | |:--------|:------------|:--------| | `maxHitsBeforeCooldown` | Maximum consecutive projectile hits allowed before normal i-frames return | 10 | | `cooldownTicks` | How long (in ticks) the entity is protected after exceeding the max hits | 20 ticks (1 second) | | `timeWithoutHitResetTicks` | How long (in ticks) an entity must go without getting hit for the hit counter to reset | 20 ticks (1 second) | You can adjust these values to make combat faster, slower, or more punishing depending on your pack's balance. # 🔧 Requirements - Minecraft **1.21.1** - Fabric Loader - Fabric API ---