文本

文本 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.

分頁,將內容(例如文本清單)分割為離散頁面的過程,也在本章節討論。

目錄