Book Copy
此模组添加了一个简单的客户端 /bookcopy 命令,允许你保存已填写的书本,并在稍后导入到另一本书中。
欢迎在问题追踪器中报告任何错误或建议新功能。
许可证
本模组遵循 GNU LGPLv3 许可证。
捐赠
如果你喜欢这个模组,请考虑 捐赠。
Discord
如需支持或有任何问题,欢迎加入 我的 Discord。
版本支持
| Minecraft 版本 |
状态 |
| 26.3.x |
✅ 当前版本 |
| 26.2.x |
✔️ 可用 |
| 26.1.x |
✔️ 可用 |
| 1.21.6+7+8+9+10+11 |
✔️ 可用 |
| 1.21.5 |
✔️ 可用 |
| 1.21.4 |
✔️ 可用 |
| 1.21.2+3 |
✔️ 可用 |
| 1.21+1 |
✔️ 可用 |
| 1.20.5+6 |
✔️ 可用 |
| 1.20.4 |
✔️ 可用 |
我尽量保持对最新 Minecraft 版本的支持。由于我有时没有足够的时间立即更新模组,对新 Minecraft 版本的更新可能会偶尔延迟。
不受支持的版本仍可下载,但不会获得新功能或错误修复。
NeoForge 移植版适用于 Minecraft 26.1 及以上版本。
使用方法
模组构建文件可在发布页面以及 Modrinth 上找到。
Fabric 版本需要 Fabric API。
此模组添加了一个简单的命令 /bookcopy。使用方式如下:
/bookcopy export <name> [<overwrite>] - 将你手持的书的内容导出到指定的文件名。
- 将
overwrite 设置为 true 以覆盖现有书本。
/bookcopy import <name> [<sign>] - 读取指定文件名的内容并将其写入你手持的书本中。
- 将
sign 设置为 true 以在导入后自动签署书本。仅当书本保存时包含标题时才有效。
导出时,你可以使用已填写的书或书与羽毛笔来读取内容。导入时,只能使用书与羽毛笔,因为已填写的书的内容无法更新。
书本内容存储在 .minecraft/config/bookcopy 文件夹中。书本内容可以在不同世界之间传输。
低于 0.1.2-1.21.1 的版本中,书本内容以 NBT 格式存储。在 0.1.2-1.21.1 版本中,通过在保存名称末尾添加 .json 增加了对 JSON 文件的读取支持。JSON 格式的书本按以下格式存储:
{
"title": "Signed book title",
"pages": [
"This is a signed book.",
"This is the second page!",
"",
"An empty page then this!",
"Wow."
]
}
Book Copy
This mod adds a simple client-side /bookcopy command, which allows you to save written books and
import them later in another book.
Feel free to report any bugs, or suggest new features, at the issue tracker.
License
This mod is licensed under GNU LGPLv3.
Donating
If you like this mod, consider donating.
Discord
For support and/or any questions you may have, feel free to join my discord.
Version support
| Minecraft Version |
Status |
| 26.3.x |
✅ Current |
| 26.2.x |
✔️ Available |
| 26.1.x |
✔️ Available |
| 1.21.6+7+8+9+10+11 |
✔️ Available |
| 1.21.5 |
✔️ Available |
| 1.21.4 |
✔️ Available |
| 1.21.2+3 |
✔️ Available |
| 1.21+1 |
✔️ Available |
| 1.20.5+6 |
✔️ Available |
| 1.20.4 |
✔️ Available |
I try to keep support up for the latest drop of Minecraft. Updates to newer Minecraft
versions may be delayed from time to time, as I do not always have the time to immediately update my mods.
Unsupported versions are still available to download, but they won't receive new features or bugfixes.
NeoForge ports are available for Minecraft 26.1 onwards.
Usage
Mod builds can be found on the releases page, as well as on Modrinth.
The Fabric API is required on Fabric.
This mod adds one simple command, /bookcopy. It can be used as follows:
/bookcopy export <name> [<overwrite>] - exports the contents of the book you're holding to the given filename.
- Set
overwrite to true to overwrite books.
/bookcopy import <name> [<sign>] - reads the contents of given filename and writes it to the book you're holding.
- Set
sign to true to automatically sign the book after importing it. Only works if the book was saved with a title.
When exporting, you can use a written book or a book and quill to read from. When importing, you can
only use a book and quill, since the contents of a written book can't be updated.
Book contents are stored in the .minecraft/config/bookcopy folder. Book contents can be
transferred across worlds.
Below version 0.1.2-1.21.1, book contents are stored in NBT. In version 0.1.2-1.21.1 support for
reading JSON files was added, by adding .json at the end of your save names. JSON books are stored
in the following format:
{
"title": "Signed book title",
"pages": [
"This is a signed book.",
"This is the second page!",
"",
"An empty page then this!",
"Wow."
]
}
评论 0
登录后参与评分
还没有评论,来抢沙发吧