
Description
Path Keeper
Keep your dirt paths under slabs, stairs, fences and other blocks that are not full cubes.
In vanilla Minecraft, a dirt path turns into dirt as soon as you place a slab, stairs, a trapdoor, a fence or many other blocks on top of it (MC-84731), and a shovel only makes a path when the block above is air (MC-85237). Path Keeper fixes both: paths stay under every block that is not a full cube, and shovels make paths under those blocks too.
Features
- Paths stay under non-full blocks. Slabs, stairs, trapdoors, fences, walls, signs, chests, campfires and every other block that is not a full cube no longer turn the path below into dirt.
- Shovels make paths under them. Grass, dirt, podzol, coarse dirt, mycelium and rooted dirt can be flattened into a path while such a block sits on top.
- Fluids still stop the shovel. Water, lava and waterlogged blocks above keep the shovel from making a path, as in vanilla.
- Full blocks stay vanilla. Stone, planks, glass, leaves and other full blocks still turn the path into dirt.
- Server-side only. Vanilla clients can join, and nothing is added to the game.
How it works
The rule looks at the outline of the block above the path: the box you see when you aim at it. If that outline is not a full cube, the path stays.
- Paths stay under slabs (top or bottom), stairs, trapdoors, fences, fence gates, walls, glass panes, iron bars, chains, signs, banners, heads, chests, beds, anvils, lecterns, cauldrons, hoppers, composters, campfires, flower pots and scaffolding.
- Paths still turn into dirt under full-cube blocks such as stone, dirt, planks, glass, leaves, ice, soul sand, mud, honey blocks, barrels and double slabs.
- Shovels follow the same rule. A shovel makes a path when the block above is air, or when its outline is not a full cube, it holds no fluid and it can stand on a path.
- Nothing breaks. Standing torches, doors, rails, pressure plates, lanterns, candles, flowers and saplings still cannot be placed on a path, and a shovel does not make a path under them, so nothing pops off.
- The rest stays vanilla. Paths look the same and keep their height. Hoes, farmland, putting out campfires with a shovel and mob pathfinding work as in vanilla.
Versions
| Minecraft | Loader | Requires | File |
|---|---|---|---|
| 26.3 | NeoForge 26.3.0.0-beta+ (stable 26.3.0.76+) | Java 25 | pathkeeper-neoforge-26.3-1.0.0.jar |
| 26.3 | Forge 66.0.0+ | Java 25 | pathkeeper-forge-26.3-1.0.0.jar |
| 26.3 | Fabric Loader 0.18.2+ | Java 25 | pathkeeper-fabric-26.3-1.0.0.jar |
| 26.2 | NeoForge 26.2.0.0-beta+ (stable 26.2.0.57+) | Java 25 | pathkeeper-neoforge-26.2-1.0.0.jar |
| 26.2 | Forge 65.0.0+ | Java 25 | pathkeeper-forge-26.2-1.0.0.jar |
| 26.2 | Fabric Loader 0.18.2+ | Java 25 | pathkeeper-fabric-26.2-1.0.0.jar |
| 26.1 - 26.1.2 | NeoForge 26.1.0.1-beta+ (stable 26.1.2.71+) | Java 25 | pathkeeper-neoforge-26.1-26.1.2-1.0.0.jar |
| 26.1 - 26.1.2 | Forge 62.0.0+ (62 = 26.1, 63 = 26.1.1, 64 = 26.1.2) | Java 25 | pathkeeper-forge-26.1-26.1.2-1.0.0.jar |
| 26.1 - 26.1.2 | Fabric Loader 0.18.2+ | Java 25 | pathkeeper-fabric-26.1-26.1.2-1.0.0.jar |
| 1.21.11 | NeoForge 21.11.42+ | pathkeeper-neoforge-1.21.11-1.0.0.jar |
|
| 1.21.11 | Forge 61.0.1+ | pathkeeper-forge-1.21.11-1.0.0.jar |
|
| 1.21.11 | Fabric Loader 0.17.3+ | pathkeeper-fabric-1.21.11-1.0.0.jar |
|
| 1.21.1 | NeoForge 21.1.1+ | pathkeeper-neoforge-1.21.1-1.0.0.jar |
|
| 1.21.1 | Forge 52.0.0+ | pathkeeper-forge-1.21.1-1.0.0.jar |
|
| 1.21.1 | Fabric Loader 0.15.10+ | pathkeeper-fabric-1.21-1.21.1-1.0.0.jar |
|
| 1.20.1 | Forge 47.1.0+ (also NeoForge 1.20.1) | pathkeeper-forge-1.20.1-1.0.0.jar |
|
| 1.20.1 | Fabric Loader 0.14.21+ | pathkeeper-fabric-1.20-1.20.1-1.0.0.jar |
Client and server
Install the mod on the server only. It adds no items, blocks, entities, sounds, network messages or registries, so vanilla clients and clients without the mod can join and see the paths like everyone else. When a player without the mod makes a path under a non-full block, the path appears and the shovel loses durability, but that player does not see their own arm swing or hear the shovel sound. Installing the mod on the client as well brings both back. Fabric API is not needed.
FAQ
What happens if I remove the mod? The world opens normally, and the mod saves nothing of its own. Paths under non-full blocks stay until the block on top of them changes; then the vanilla rule applies again and the path turns into dirt.
Does it work with blocks from other mods? Yes. Blocks from other mods follow the same outline rule, and shovels from other mods are covered when they use the vanilla shovel code.
Does it work with datapacks that change the shovel? Yes. On Minecraft 26.3, shovel path-making is data-driven; blocks that a datapack adds follow the new rule as well, and if a datapack removes or replaces the air check above the block, the mod leaves that change alone.
Does it change farmland? No. Hoes, farmland and trampling work as in vanilla.
Can I use it in my modpack? Yes, go ahead. The mod is licensed under MIT.
Links
- Source code: https://github.com/emberbocor/pathkeeper
- Bug reports and suggestions: https://github.com/emberbocor/pathkeeper/issues
When reporting a bug, please include your Minecraft version, loader, mod version and your log file.
