文本 API

文本 API 用于创建格式化的文本,可以在聊天消息中发送给玩家,也可以在书籍和告示牌等地方使用。

Sponge uses the Adventure library as its text implementation. Since Adventure already provides docs on how to create and manipulate text objects, we will supply you with Sponge-specific guides and a basic introduction.

分页(Pagination),也就是将内容(例如文本列表)分割成离散页面的过程,也将在本节中讨论。

内容