跳到正文

PathEngine

作者:kagamiyato

The required pathfinding library behind AutonomeNPC provides an async A* engine only, does nothing on its own.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Description (English)

PathEngine is a lightweight library mod that provides a from-scratch, asynchronous A\* pathfinding engine: graph search, terrain queries, and a block-state snapshot cache, built to run without blocking the main game thread.

It supports diagonal movement, step-up/climbing, bridging (placing blocks mid-air to cross gaps), swimming/underwater movement, mining-route construction (including wedge-escape when stuck in corners), and detects unreachable goals with a cooldown to avoid repeated pathing requests.

This mod does nothing by itself. It exists solely as a required dependency for AutonomeNPC, which uses it to move its companion NPCs.

Requirements

  • Minecraft 1.21.1 / NeoForge 21.1.x / Java 21
  • No configuration needed — install alongside AutonomeNPC

License

All Rights Reserved. Redistribution and modification are not permitted. Modpack inclusion is welcome — no permission needed.


説明文(日本語)

PathEngine は、スクラッチ実装の非同期A\*経路探索エンジンを提供する軽量ライブラリMODです。グラフ探索・地形クエリ・ブロックステートのスナップショットキャッシュを備え、メインスレッドを止めずに動作するよう設計されています。

平面の斜め移動、段差登り、橋渡し(空中への足場設置による隙間越え)、遊泳・水中移動、採掘ルート構築(角に詰まった際のwedge脱出を含む)に対応し、到達不能なゴールをクールダウン付きで検出して無限に経路要求を繰り返さないようにします。

このMOD単体では何も起こりません。 AutonomeNPC がコンパニオンNPCの移動処理に利用するための必須依存として存在します。

動作環境

  • Minecraft 1.21.1 / NeoForge 21.1.x / Java 21
  • 設定不要。AutonomeNPCと同時に導入するだけ

ライセンス

All Rights Reserved。再配布・改変は禁止します。モッドパックへの同梱は歓迎(許可申請不要)です。

常见问题

PathEngine 支持哪些 Minecraft 版本?

PathEngine 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

PathEngine 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分