Item & Block Attraction
by Sylsatra
With Item & Block Attraction, a block, item or held object can draw specific mobs toward a chosen spot, which lets players steer mobs through rules they define.
What it does
Each attraction rule ties a mob type to a lure: a block, an item or a held object that pulls matching mobs toward it. Rules are written in a configurable TOML file, where the lure, the search radius and the stop distance can be set. Certain lures can also be limited to mobs carrying a specific item, such as skeletons holding one enchanted bow, and rules can match mobs by NBT data. The stop distance and search radius are tuned to keep the pathfinding work small.
The mod suits adventure maps, modpacks and servers that need predictable mob behavior. A map can place a lure in a pit or near a moat so mobs walk into a planned trap, a sheep pen can draw creepers away from a base, and a food block can bring animals into a breeding pen. Creators who want to attract modded mobs too can write rules for any mob, since the attraction works on the mob group defined by the config file.
The mod runs on Forge only and is published for 1.18 – 1.20.1, with the latest Forge file, 3.0.1, built for 1.20.1. It is a core mod, so it works alongside other mods. Both the server and every player need it, and it is released under the GNU General Public License v3.0 only, with source code, an issue tracker and a wiki published.
Key features
Configurable attraction rules
A TOML file defines which lures draw which mobs, with radius and stop distance set per rule.
Item-specific lures
A lure can require a mob to hold a particular item, such as an enchanted bow, before it is attracted.
Decoy and trap design
Lure blocks placed in a pit, lava moat or sheep pen let map makers route mobs into planned traps.
Automated breeding lures
Animal food blocks such as hay bales draw wild animals into a breeding pen without manual herding.
Compatibility
Latest build for each game version and loader.
1.20.x1 of 1 version with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Adventure map quests
A quest can require the player to lure a sea monster with a sacred item and retrieve a key from a temple.
Base defense
Decoy blocks can pull creepers away from a base, replacing walls with traps placed in their path.
Who it’s for: The mod is aimed at adventure map makers, modpack creators and server owners who want to control mob pathfinding through a configuration file. It needs no in-game setup beyond the config.
Questions
Does Item & Block Attraction need to be on the server?
Which loader does Item & Block Attraction support?
Can a lure be limited to mobs holding a certain item?
In the catalog
Item & Block Attraction is one of 11,058 Mobs mods on ModsFinder, and one of 6,527 Mobs mods for Forge. 34,764 mods support Minecraft 1.20.1.
More from Sylsatra
Similar mods
What the author says
Ever wished you could guide mobs exactly where you want them? What if you could turn any item into a powerful beacon, or any block into an irresistible bait? From the creator of Fear of Anything, Lure of Anything is its powerful counterpart, giving you complete control over mob attraction. This server-side mod allows…
Official listing
- Modrinth page
- modrinth.com/mod/attract-to-item-and-block
- Owner
- Sylsatra
- Published
- 2025-03-04
- Updated on Modrinth
- 2025-11-05
- Facts verified
- 2026-10-15
