Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.2
1.21.11
1.21.1
1.20.1
1.19.2
Platforms
Supported environments
Server-side
Singleplayer
Links
Tags
Creators
Details
Licensed ARR
Published 5 days ago
Updated 38 minutes ago

Mobs hop over fences, walls, closed gates and one-block gaps. A fence no longer keeps you safe: a zombie that sees you jumps it and comes for you.
Server-side: install it on the server or in singleplayer; players don't need it.
Dependencies: Fabric needs Fabric API and Architectury API. NeoForge needs Architectury API. Forge needs no additional dependencies.
Free to use in any modpack — public or private, no permission needed.
What it does
- Ground mobs hop obstacles up to fence height.
- They also cross one-block gaps, even when the far side is a block higher or lower.
- A fence alone won't make a mob hop: it only jumps when something on the far side pulls it.
- Before jumping, a mob checks the landing and skips the hop if it would land in lava or fire, in a pit it can't leave, or under a low ceiling.
- Works with vanilla and most modded ground mobs, and with modded fences and walls without any setup. Flying and swimming mobs, slimes and shulkers are left out.
Configuration
Settings are in config/mobhop.json, and every key is commented in the file. Changes apply a few seconds after you save, with no restart.
maxHopHeightsets the tallest obstacle a mob will hop. The default is 1.5, a fence, and the maximum is 3.maxGapWidthsets the widest gap a mob will cross. The default is 1 and the maximum is 2; set it to 0 to turn gap hopping off.onlyWhenChasing(off by default) lets only mobs with an attack target hop. While it's off, a cow can hop its fence after a short wait to follow a player holding wheat; cows just wandering around stay inside.
For modpack authors
- Entity type tags
#mobhop:can_hopand#mobhop:cannot_hopcontrol which mobs hop. Turn onrestrictToCanHopTagto makecan_hopan allow-list; it ships empty. #mobhop:cannot_hopalways wins: a mob type listed in both tags never hops, even withrestrictToCanHopTagon.#mobhop:hazardsis a block tag. WithrefuseHazardousLandingon (the default), mobs avoid these blocks along the jump and where they land.- Hopping works only for mobs built on vanilla's PathfinderMob class.
- If the config can't be read, it's renamed to
mobhop.json.bakand defaults are used, so the server keeps running.
Details
- Mob farms: a zombie chasing a villager can clear a fence or a one-block gap in the floor if it has headroom and a safe place to land. A farm that keeps mobs in with a fence or a one-block gap may need a different layout.
- One jump over one obstacle; mobs don't climb walls or chain hops.
- Big mobs need room to land: a ravager or iron golem won't hop onto a one-block ledge.
Feedback
Please report any bugs, errors, or feature suggestions on Discord: https://discord.gg/HTkn94BXmA
More mods by Nikrecs: PathSpeed · Rope
My other mods that I recommend.


