ModsFinder

Attack Range Attribute

by TheRedBrain

Attack Range Attribute is a small Fabric library that registers an entity attribute for how far a creature can reach with attacks and right-click interactions.

FabricClient and serverMIT LicenseOpen source1.21.1

What it does

The mod adds the attackrange:generic entity attribute, which other mods can read and change. The attribute controls both ranged attack reach and right-click interactions with entities, such as trading with villagers. Because the value only changes when another mod sets it, vanilla gameplay behaves the same as before.

Mods that want different weapons to reach different distances can use the attribute to set those values. Better Combat Extension and Spell Engine Extension are examples of mods that may choose to rely on it as an optional component. Developers who cast a LivingEntity to the AttackRangeUsingEntity interface get access to the methods that read and write the value. Installation needs Fabric API and Fzzy Config, and the mod is open source under the MIT License, with its source code and issue tracker public.

Key features

  1. Reach attribute

    An entity attribute controls how far attacks and right-click interactions can reach, for any living entity.

  2. Interaction range control

    One value governs both ranged attacks and entity interactions, so a single setting covers both behaviors.

  3. Accessor interface

    A LivingEntity can be cast to AttackRangeUsingEntity to read and modify the relevant methods directly.

Compatibility

Latest build for each game version and loader.

1.21.11.1.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required
Fzzy ConfigConfig API with automatic GUIs, powerful validation options, server-client sync, and more!
Required

Use cases

Weapon-specific reach

Weapons from other mods can be given different attack ranges, so a spear and a dagger reach different distances.

Unchanged vanilla play

Because the attribute does not change normal gameplay by default, worlds without a reach-changing mod play as before.

Who it’s for: Mod developers who want a shared reach attribute for weapons and entity interactions, and server owners who run combat mods that depend on it.

How it compares

Full comparison

SkillsMod is a Fabric mod for 1.21.5 – 1.21.8, open source under the GNU General Public License v3.0 or later, and runs on client and server, so it covers a different version range. CombatEdit is a Fabric mod for 1.19 – 26.3 released under the Apache License 2.0, and its environment is server required with the client optional. Attack Range Attribute only targets 1.21.1, and it is open source under the MIT License.

ModLoadersGame versionsEnvironmentUpdated
Attack Range AttributeFabric1.21.1Client and server2026-03-31
SkillsModFabric1.21.5 – 1.21.8Client and server2025-09-25
CombatEditFabric1.19 – 26.3Server required, client optional2026-09-27

Questions

Does Attack Range Attribute need Fabric API?

Yes. Fabric API is required, and Fzzy Config is required too. Both must be installed alongside the mod.

Does the server need Attack Range Attribute?

Yes. A server running it needs every connecting player to have it too.

Which Minecraft versions does the mod support?

The mod is published for Fabric and 1.21.1 only, with version 1.1.0 as the latest file, dated 2026-03-31.

In the catalog

Attack Range Attribute is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 32,366 mods support Minecraft 1.21.1.

More from TheRedBrain

All projects

Similar mods

What the author says

A small API that adds the "attackrangeattribute:generic.attack_range" entity attribute. Other mods like Better Combat Extension and Spell Engine Extension can optionally use this mod.
TheRedBrain, on the Modrinth page

Official listing

Owner
TheRedBrain
Published
2025-09-28
Updated on Modrinth
2026-03-31
Facts verified
2026-10-15

Tags