
Pathway
Library in aid of controlling entities
Автор: CJDev4983обновлён 16 дек. 2025 г.
БиблиотекиМобыТранспорт
Описание
There are still a few issues, so feel free to open pull requests to help improve this project! 😁
✅ Features
- Automatic Movement of Entities to their Destination
📖 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
Последние версии
Все версии →alpha
1.21.x+
0.1.1+mod16 дек. 2025 г.266Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1-snapshot-1, 26.1, 26.1.1, 26.1.2fabric, forge, neoforge, quilt
Что нового
Fixed not being recognized in 26.1-snapshot-1 and later
alpha
1.21.x+
0.1.116 дек. 2025 г.65Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1-snapshot-1, 26.1, 26.1.1, 26.1.2datapack
Что нового
Fixed not being recognized in 26.1-snapshot-1 and later
alpha
1.21.x+
0.1+mod30 сент. 2025 г.108Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric, forge, neoforge, quilt
alpha
1.21.x+
0.130 сент. 2025 г.59Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11datapack