CurseForge · Minecraft mod
Attack Range Attribute
A small API that adds an attack range entity attribute.
Quick answer
Which Attack Range Attribute release should I use?
Attack Range Attribute 1.1.0 targets 1.21.1 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 3 required mods have matching files.
Where it goes
Is Attack Range Attribute required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Attack Range Attribute 1.1.0 need?
1.1.0. Change the file and its required mods may change too.
Install Fzzy Config, Fabric API, Fabric Language Kotlin first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Attack Range Attribute without breaking your instance.
Built for Attack Range Attribute 1.1.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.1.0. It targets 1.21.1 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fzzy Config, Fabric API, Fabric Language Kotlin first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.1.0. It opens that exact file at the source.
About this project
What does Attack Range Attribute add?
Attack Range Attribute
A small API that adds the "attackrangeattribute:generic.attack_range" entity attribute. On its own this mod doesn't change gameplay.
Vanilla Minecraft has the "entity_interaction_range" attribute. Why is an "attack_range" attribute necessary?
The entity_interaction_range attribute controls both the range of attacks and the range of right-click interactions (e.g. trading with villagers). This works fine in vanilla, since the entity_interaction_range doesn't change in normal gameplay.
However, in scenarios where different weapons are designed to have different attack ranges, the right-click interactions with entities get inconsistent and in extreme cases, when the attack range is 0, impossible.
API
Casting a "LivingEntity" to the "AttackRangeUsingEntity" interface gives access to all relevant methods.
Project description from CurseForge.
Pick your setup
Attack Range Attribute by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Attack Range Attribute versions and loaders
1.1.0
attack-range-attribute-1.1.0.jar
31 Mar 2026
attack-range-attribute-1.0.0.jar
28 Sept 2025
1.0.0
attack-range-attribute-1.0.0.jar
28 Sept 2025
Looking for an older file? The official CurseForge project page is in Resources.