Ranged Damage Limit

Quick rating

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

Ranged Damage Limit

No reviews yet

Enable ranged damage protection for specific mobs. Ranged damage falloff can also be enabled. Highly Configurable!

No Theme
No Genre
QoL & Tweaks
Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
RangedDamageLimit-Forge-1.20.1-1.1.0-beta.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Modpack developers may want ranged damage restrictions to encourage close-quarters combat and prevent "sniping" gameplay. This mod provides configurable solutions to cap ranged damage, with support extending beyond projectile attacks.

Through the configuration file (config/RangedDamageLimit-Rules.json), you can enable ranged damage protection for specific mobs, which either caps the damage received at a specific value or completely nullifies attacks when they occur beyond a set distance.

{

    "mobId": Entity registry ID (e.g. 'minecraft:pig', 'twilightforest:kobold').
    
    "protectionDistance": Minimum distance (in blocks) required to trigger ranged damage protection mechanics.

    "damageCap": Maximum damage allowed when attack originates beyond protectionDistance.
    
    "noAggroBeyondCertainDistance": [Boolean] Whether to completely nullify attacks and prevent aggro beyond specified distance.
    
    "noAggroDistance": Distance threshold for attack nullification (must be ≥ protectionDistance when enabled).

}

You can add several mobs and apply different settings for them, like: 

[
  {
    "mobId": "minecraft:pig",
    "protectionDistance": 20.0,
    "damageCap": 2.0,
    "noAggroBeyondCertainDistance": false,
    "noAggroDistance": 25.0
  },

  {
    "mobId": "minecraft:zombie",
    "protectionDistance": 40.0,
    "damageCap": 2.0,
    "noAggroBeyondCertainDistance": true,
    "noAggroDistance": 64.0
  }
]

Additionally, damage falloff (it's linear) can be configured (in config/RangedDamageLimit-Falloff.json) for long-range attacks based on distance.

For instance, if you set the falloff to 0.5, the damage will lose 50% of its original value per block, which means the damage would be reduced to zero beyond 2 blocks. And if you set the falloff to 0.0, there will be no ranged damage falloff.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~470,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works