没有移植到 Forge 的计划! (但欢迎你自己进行移植并链接)
该模组完全可配置,仅启用你喜欢的更改
描述
再也不用丢失你的等级了!制作 经验书 (XP Books) 来存储你的经验值,使其免受即将到来的死亡的影响。随时取回:阅读书籍以取回经验,或在酿造台中酿造它来创建特殊的 经验瓶 (Experience Bottles),它们可以给予你更多的经验值。
使用锻造模板升级你的书籍,以增加存储量并减少损耗。你还可以选择其中一个 内置数据包 来体验完全不同的进度系统,无需编写任何文件。如果你喜欢折腾,这些书籍、升级和酿造都是 由数据包驱动的:你可以使用自己的数据包进行调整。
从低于 V1.6 的版本更新时请阅读
⚠️ v1.6 更新: XP Book II 和 III 已被 移除,物品数据已更改!v1.6 会转换所有内容:请先更新到 v1.6,打开你的世界,并将你的书籍放入合成台中以 更新 它们。
⚠️ 自 v1.6.1 起,此转换已取消: 未通过 v1.6 转换的书籍和瓶子将失去其内容,因此请不要跳过 v1.6!
这是一个简短的描述,完整描述如下。
内置数据包
不喜欢默认的进度系统?自 v1.6.1 起,该模组附带即用型数据包。它们默认处于禁用状态。最多启用 一个:
可用的数据包
| 数据包 | XP Book | 升级 |
|---|---|---|
| 无 (默认) | 15 级,返还 85%,每酿造一瓶获得 1 级 | 钻石 (30 级,90%,3),下界合金锭 (50 级,95%,5),下界之星 (100 级,100%,10) |
Easy-Default xp_storage:easy_default |
15 级,返还 100% | 与默认值相同,全部为 100% |
Legacy xp_storage:legacy |
30 级,返还 100%,每酿造一瓶获得 1 级 | 无 |
Balanced-Legacy xp_storage:balanced_legacy |
30 级,返还 90%,每酿造一瓶获得 3 级 | 无 |
OP-Legacy xp_storage:op_legacy |
100 级,返还 100%,每酿造一瓶获得 5 级 | 无 |
- 新世界: 创建世界 > 更多选项 > 数据包,然后选择一个
- 现有世界 (需要作弊或操作员权限;在单人游戏中,使用 对局域网开放 > 允许作弊):每个命令都会自动重新加载数据包,因此不需要
/reload。引号是必需的,标签补全会自动添加它们:/datapack enable "xp_storage:legacy"/datapack disable "xp_storage:legacy"以回到默认进度
- 专用服务器,新世界: 在
server.properties中添加initial-enabled-packs=vanilla,xp_storage:legacy
如果启用了多个,则只使用 /datapack list 中最顶部的一个,并且操作员会收到警告。你的书籍保留其数据:切换仅影响之后合成或升级的书籍。
常见问题解答
-
它能在服务器上运行吗? 是的,它可以在服务器上运行。客户端和服务器都需要该文件
-
我可以把它包含在我的整合包中吗? 是的,你可以自由地将此模组包含在你的整合包中
-
我可以更改书籍、升级或瓶子吗? 可以!选择一个内置数据包,或者编写你自己的(见下方的 使用数据包自定义)
-
其他任何问题: 欢迎在 Discord 服务器上分享你的经验、问题和增强建议,或在 GitHub 上创建问题
完整描述
配方
结晶青金石
- 4 青金石 (它存储经验,所以这很有道理)
- 1 紫水晶碎片 (它是一种珍贵的宝石)
经验书
- 在没有升级的情况下(数据包),最多存储 15 级。 这意味着从 0 级到 X 级的经验值!这与从 Y 级到 X+Y 级的经验值数量不同!
- 1 书 (当然,这是一本书)
- 4 结晶青金石
锻造模板
- 升级任意等级的经验书,只有与之对应的材料会改变
- 1 钻石
- 8 结晶青金石
锻造模板复制
- 1 锻造模板
- 4 结晶青金石
如何使用?
经验书
-
存储经验: 右键点击以存储尽可能多的经验值,直到书本容量满为止。如果你的经验值超过书本容量,剩余部分保留在你身上
-
取回经验: 潜行时右键点击以取回存储在书中的 85%、90%、95% 或 100% 的经验值(具体取决于书的等级)
酿造
- 将经验书放入酿造台作为材料,搭配普通药水或由酿造生成的经验球。每次酿造会从书中扣除 1、3、5 或 10 级经验(具体取决于书的等级),并将这些经验存入生成的经验球中(若已存在则累加)。书本本身不会被消耗:消耗的仅是其中的经验值!
- 每个经验球最多可容纳 30 级经验(可配置;在 Minecraft 26.3+ 的酿造配方中适用)
经验书升级
- 升级书本以存储更多经验并更高效地返还经验
- 制作经验书升级锻造模板,并将其与正确的材料结合使用,用于提升放入的经验书的等级:钻石、下界合金锭或下界之星
- 每次升级都需要一个配方:你可以修改它们,或通过数据包添加新的等级(见下文)
通过数据包自定义
所有关于书本的逻辑都存在于配方中。通过在数据包中放置具有相同 ID 的文件来覆盖某个配方。如果你同时使用了内置的数据包,请确保你的数据包排在它之后(即在 /datapack list 命令列表中位于其上方)。
经验书:xp_storage:xp_book
crafted 的书本将其数据存储在结果物品中:
capacity: 可存储的经验等级数xpFromUsing: 使用时返还经验的百分比xpFromBrewing: 每次酿造存入的经验等级数barColor: 经验条的颜色,以十进制 RGB 数字表示
"result": {
"id": "xp_storage:xp_book",
"components": {
"xp_storage:book_component": {
"level": 0, "capacity": 15, "xpFromUsing": 85, "xpFromBrewing": 1, "barColor": 1856424
}
}
}
升级:xp_storage:xp_book_upgrade/level_0, level_1, level_2
锻造配方,每种书本等级对应一个:baseLevel 是你放入的书本的等级。添加 level_3 配方以进一步提升!
{
"type": "xp_storage:xp_book_upgrade",
"template": "xp_storage:xp_book_upgrade_smithing_template",
"base": "xp_storage:xp_book",
"addition": "minecraft:diamond",
"baseLevel": 0,
"resultCapacity": 30,
"resultXpFromUsing": 90,
"resultXpFromBrewing": 3,
"resultBarColor": 10615784
}
酿造(Minecraft 26.3+, v1.6.2+)
两个酿造配方:xp_storage:brewing/experience_bottle(第一次酿造,基于普通药水)和 xp_storage:brewing/experience_bottle_upgrade(对已酿造过的瓶子再次酿造)。可以更改药水类型、限制书本的使用,或设置瓶子的最大经验等级。max_level 是可选参数:如果移除它,瓶子将没有最大等级限制。
{
"type": "xp_storage:experience_brewing",
"input": {"item": "minecraft:potion", "potion_contents": {"potions": "minecraft:mundane"}},
"reagent": {"item": "xp_storage:xp_book"},
"output": {"id": "minecraft:experience_bottle"},
"max_level": 30
}
如果有两个数据包为同一本书的等级提供了升级配方,操作员会收到警告。
NO PORT TO FORGE PLANNED! (but feel free to port it by yourself and link it)
The mod is fully configurable to enable only changes that you like
Description
Never lose your levels again! Craft XP Books to store your experience and keep it safe from a coming death. Get it back whenever you want: read the book to retrieve it, or brew it in a brewing stand to create special Experience Bottles that can give you even more experience.
Upgrade your books with a smithing template so they store more and lose less. You can also pick one of the built-in data packs to play a completely different progression, without writing a single file. And if you like to tinker, the books, the upgrades and the brewing are all data-driven: tune them with your own data pack.
TO READ WHEN UPDATING FROM A VERSION OLDER THAN V1.6
⚠️ v1.6 UPDATE: XP Book II and III were removed, and item data changed! v1.6 converts everything: update to v1.6 first, open your world, and put your books in a crafting table to update them.
⚠️ Since v1.6.1, this conversion is gone: books and bottles that were not converted with v1.6 lose their content, so don't skip v1.6!
This is a short description, full description below.
Built-in data packs
Not a fan of the default progression? Since v1.6.1, the mod ships with ready-to-use data packs. They are disabled by default. Enable at most one:
Available data packs
| Data pack | XP Book | Upgrades |
|---|---|---|
| none (Default) | 15 levels, gives back 85%, 1 level per brewed bottle | Diamond (30 levels, 90%, 3), Netherite Ingot (50 levels, 95%, 5), Nether Star (100 levels, 100%, 10) |
Easy-Default xp_storage:easy_default |
15 levels, gives back 100% | Same as default, all at 100% |
Legacy xp_storage:legacy |
30 levels, gives back 100%, 1 level per brewed bottle | None |
Balanced-Legacy xp_storage:balanced_legacy |
30 levels, gives back 90%, 3 levels per brewed bottle | None |
OP-Legacy xp_storage:op_legacy |
100 levels, gives back 100%, 5 levels per brewed bottle | None |
- New world: Create World > More > Data Packs, then select one
- Existing world (needs cheats or operator; in singleplayer, use Open to LAN > Allow Cheats): each command reloads the data by itself, so there is no need for
/reload. The quotes are required, and tab completion adds them:/datapack enable "xp_storage:legacy"/datapack disable "xp_storage:legacy"to go back to the default progression
- Dedicated server, new world:
initial-enabled-packs=vanilla,xp_storage:legacyinserver.properties
If several are enabled, only the topmost one in /datapack list is used, and operators get a warning. Your books keep their data: switching only changes the books crafted or upgraded afterwards.
FAQ
-
Does it work on a server? Yes, it works on a server. The file is needed on both client and server
-
Can I include it in my modpack? Yes, you are free to include this mod in your modpack
-
Can I change the books, upgrades or bottles? Yes! Pick a built-in data pack, or write your own (see Customize with data packs below)
-
For any other things: Feel free to share your experience, problems and enhancement ideas on the Discord server, or create an issue on GitHub
Full description
Recipes
Crystallized Lapis
- 4 Lapis Lazuli (it stores experience, so that makes sense)
- 1 Amethyst Shard (it's a precious gem)
XP Book
- Stores up to 15 levels without upgrades (data pack). This means the experience to go from level 0 to level X! That's not the same amount as the experience from level Y to level X+Y!
- 1 Book (of course, it's a book)
- 4 Crystallized Lapis
Smithing Template
- Upgrades XP Books of any level, only the ingredient that goes with it changes
- 1 Diamond
- 8 Crystallized Lapis
Smithing Template Duplication
- 1 Smithing Template
- 4 Crystallized Lapis
How to use?
XP Book
-
Store experience: Right click to store as much of your experience as the book can hold. If you have more experience than the book can hold, you keep the rest
-
Retrieve experience: Right click while sneaking to get back 85, 90, 95 or 100% (depending on the book's level) of the experience stored in the book
Brewing
- Put the XP Book in the brewing stand as the ingredient, with mundane potions or Experience Bottles made by brewing. Each brew takes 1, 3, 5 or 10 levels (depending on the book's level) from the book for each bottle, and puts them in the resulting Experience Bottle (or adds them to it). The book is not consumed: only its experience is!
- Each Experience Bottle can hold up to 30 levels (config; in the brewing recipes on Minecraft 26.3+)
XP Book Upgrades
- Upgrade the book so it stores more experience and gives it back more efficiently
- Craft an XP Book Upgrade Smithing Template and use it with the right ingredient for the level of the XP Book you put in: Diamond, Netherite Ingot or Nether Star
- Every upgrade is a recipe: change them, or add new levels, with a data pack (see below)
Customize with data packs
Everything about the books lives in recipes. Override a recipe by putting a file with the same id in your data pack. If you also use a built-in data pack, enable yours after it (above it in /datapack list).
XP Book: xp_storage:xp_book
The crafted book carries its data in its result:
capacity: levels it can storexpFromUsing: percentage of the experience given back when usedxpFromBrewing: levels put in each brewed bottlebarColor: color of the experience bar, as a decimal RGB number
"result": {
"id": "xp_storage:xp_book",
"components": {
"xp_storage:book_component": {
"level": 0, "capacity": 15, "xpFromUsing": 85, "xpFromBrewing": 1, "barColor": 1856424
}
}
}
Upgrades: xp_storage:xp_book_upgrade/level_0, level_1, level_2
Smithing recipes, one per book level: baseLevel is the level of the book you put in. Add a level_3 recipe to go further!
{
"type": "xp_storage:xp_book_upgrade",
"template": "xp_storage:xp_book_upgrade_smithing_template",
"base": "xp_storage:xp_book",
"addition": "minecraft:diamond",
"baseLevel": 0,
"resultCapacity": 30,
"resultXpFromUsing": 90,
"resultXpFromBrewing": 3,
"resultBarColor": 10615784
}
Brewing (Minecraft 26.3+, v1.6.2+)
Two brewing recipes: xp_storage:brewing/experience_bottle (the first brew, from a mundane potion) and xp_storage:brewing/experience_bottle_upgrade (a brewed bottle brewed again). Change the potion, restrict the book, or set the bottles' maximum level. max_level is optional: remove it and bottles have no maximum level.
{
"type": "xp_storage:experience_brewing",
"input": {"item": "minecraft:potion", "potion_contents": {"potions": "minecraft:mundane"}},
"reagent": {"item": "xp_storage:xp_book"},
"output": {"id": "minecraft:experience_bottle"},
"max_level": 30
}
Operators get a warning if two data packs give an upgrade for the same book level.
下载 XP Storage
下载 XP Storage
下载 XP Storage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 XP Storage
下载 XP Storage
下载 XP Storage
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 XP Storage
下载 XP Storage
下载 XP Storage
下载 XP Storage
- 酿造经验瓶使用酿造配方(Minecraft 26.3+),请参阅 README
- xp_storage:brewing/experience_bottle(来自普通药水)和 xp_storage:brewing/experience_bottle_upgrade (再次酿造已酿造好的瓶子)
- 数据包可以更改药水、书籍以及瓶子的最大等级,或移除最大等级限制
- “容量”瓶子配置选项已移除:最大等级(30)直接写在配方中
- 酿造台接受任何经验瓶,包括通过漏斗输入(只有由酿造生成的瓶子才能被再次酿造)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
基于 GTCEu 1.12.2 的现代 GregTech
评论 0
登录后参与评分
还没有评论,来抢沙发吧