Перейти к содержимому
Mineforgian

Pathway

Library in aid of controlling entities

Загрузки
281
Подписчики
3
Обновлён
16 декабря 2025 г.
Лицензия
GPL-3.0-only

Опубликован 29 сентября 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

Ченджлог

0.1.1+modАльфа26.1, 26.1.1, 26.1.2 · 16 декабря 2025 г.

Fixed not being recognized in 26.1-snapshot-1 and later

0.1.1Альфа26.1, 26.1.1, 26.1.2 · 16 декабря 2025 г.

Fixed not being recognized in 26.1-snapshot-1 and later

Комментарии

Загружаем…