Home›Java›Datapacks›Pathway
Pathway
DatapacksJava

Pathway

Java data pack listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

by CJDev · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.7–26.1.2 · Data pack⬇ Download for 1.21.7–26.1.2 · Fabric⬇ Download for 1.21.7–26.1.2 · Forge⬇ Download for 1.21.7–26.1.2 · NeoForge⬇ Download for 1.21.7–26.1.2 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

There are still a few issues, so feel free to open pull requests to help improve this project! 😁

✅ Features

📖 Usage

Add the pathway tag to an entity and set the destination by setting data.pathway.target to a list with three doubles, e.g., Player's Position

Config

Defined by attributes, except:
scoreboard players set @s pathway.maxDistance <any> — default: unset — maximum distance it will pathfind at once — Change at your own discretion. Recommended: 100
scoreboard players set @s pathway.maxStepHeight <any> — default: unset — maximum blocks to step up at once

Example usage

#code:loop.mcfunction:

execute as @e[tag=my_entity] at @s run data modify entity @s data.pathway.target set from entity @p[distance=..50] Pos
Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more