跳到正文

Bookshelf Finite State Machine Module

作者:Bookshelf

Describe behaviors as states and transitions, and run them on entities or globally.

收藏

介绍

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

Bookshelf

Bookshelf is a Minecraft datapack library. It provides performant modules that help you create complex systems more easily.

Documentation

 

 

 

🔄 Bookshelf Finite State Machine Module

Describe behaviors as states and transitions, and run them on entities or globally.

“FSMs are without a doubt the most commonly used technology in game AI programming today. They are conceptually simple, efficient, easily extensible, and yet powerful enough to handle a wide variety of situations.”

— Daniel D. Fu & Ryan Houlette

✨ Features

  • Describe a state machine as a template, stored and edited with plain data commands
  • Validate a state machine before running it (initiality, unicity, acceptability, reachability)
  • Run a state machine globally or bound to specific entities
  • Trigger transitions manually, or from a predicate, a command, or a delay
  • React to state changes with enter, tick, and exit commands

📚 Documentation

About Bookshelf

This module is part of the Bookshelf library:

🧩 Find more in the Bookshelf Organization \
📦 Get the full Bookshelf Suite

Get involved

💬 Join our Discord \
🛠 Learn how to contribute

常见问题

Bookshelf Finite State Machine Module 支持哪些 Minecraft 版本?

Bookshelf Finite State Machine Module 支持 Minecraft Java 版 26.3。下载时注意选择和你游戏版本一致的文件。

Bookshelf Finite State Machine Module 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Bookshelf 的其他作品

查看全部 →