Back to mods
Attack Range Attribute project artwork

CurseForge · Minecraft mod

Attack Range Attribute

A small API that adds an attack range entity attribute.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Attack Range Attribute release matches 1.21.1 Fabric?

Updated 7 months ago
Best match for your filters 1.1.0
Game version 1.21.1
Loader Fabric

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.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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 on 1.21.1 Fabric. Every mod below is checked against that same setup.

All 3 required mods have matching files

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.

2 listed on this file 1 pulled in by one of those mods
Fzzy Config Needed by Attack Range Attribute 1.1.0
required
Matching file found Matched file: 0.7.7+1.21
Fabric API Needed by Attack Range Attribute 1.1.0
required
Matching file found Matched file: 0.116.18+1.21.1
Fabric Language Kotlin Needed by Fzzy Config
pulled in
Matching file found Matched file: 1.14.2+kotlin.2.4.21

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 on 1.21.1 Fabric. Pick another file and the loader, install side or required mods may change.

  1. 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.

  2. 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.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 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 available setups

Check 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

3 of 3 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.