Revault 是一个数据包,使宝箱和诡异宝箱在经过一段时间后重新补给。通常情况下,一旦一个宝箱被打开,该玩家就不能再次打开它,但 Revault 允许玩家在一段时间过后再次打开它。
- 适用于单人游戏和多人游戏,支持任意数量的玩家。
- 每个玩家在打开宝箱时会启动一个计时器。当计时器结束后,启动该计时器的玩家将被允许再次打开这个宝箱。
- 计时器与游戏时间绑定,因此即使在不加载的区块中(但如果世界/服务器暂停则无效),宝箱也会重新补给。
- 宝箱顶部会显示烟雾粒子(类似于冷却中的试炼刷怪笼),这些粒子仅对处于冷却期的玩家可见。
- 默认情况下,普通宝箱需要 1 小时才能重新补给,而诡异宝箱需要 5 小时。(作为参考,试炼刷怪笼需要 30 分钟)
配置
你可以通过在运行 /function revault:gamerules 后点击聊天栏来更改世界中的游戏规则。
将重置时间设置为 -1 表示该类型的宝箱永远不会重置。
对于整合包制作者
由于这是一个数据包,它没有配置文件。
你可以通过修改/覆盖函数 "revault:default_gamerules" 来更改所有世界中的游戏规则。
我建议观看教程。
有关自定义游戏规则的更多信息请见此处。
安装与卸载
在安装时会自动工作:
- 首次安装到已有世界时,修复模式将激活,导致之前所有已打开的宝箱被重置。
- 从旧版本升级到 1.3 版本的 Revault 时,如果你的世界中存在在你安装 Revault 之前就已经打开过的宝箱,你应该手动启用修复模式:
/scoreboard players set RepairMode revault.time 1
- 卸载时,所有宝箱标记都会保留。
- 重新安装时,所有本应已经解锁的宝箱将会解锁。
可免费用于任何平台的任何整合包。
"Revault" 还是 "Re vault"?
项目名为 "Revault"。它在 Modrinth 上被标记为 "Re vault",因为如果是 "Revault",它会出现在搜索结果中 "vault" 的末尾。
Revault is a datapack that makes vaults and ominous vaults restock after some time. Normally once a vault is opened, it can't be opened again by that player, but Revault lets that player open it again, after some time has passed.
- Works in both singleplayer and multiplayer, with any number of players.
- Each player starts a timer in the vault when they open it. Once a timer finishes, the player who started that timer will be allowed to open that vault again.
- Timers are linked to gametime, so vaults will restock even in unloaded chunks (but not if the world/server is paused).
- Vaults will display smoke particles on top (similar to a trial spawner on cooldown) that are ONLY visible to players that are on cooldown.
- By default, a normal vault takes 1 hour to restock, and an ominous vault takes 5 hours. (For reference, a trial spawner takes 30 minutes)
Configuration
You can change gamerules in a world by clicking on chat after running /function revault:gamerules
Setting a reset time to -1 means the vault type will never reset.
For Modpack Makers
Since this is a datapack, it does not have a config.
You can change gamerules in every world by modifying/overwriting the function
"revault:default_gamerules"
I recommend watching the tutorial.
Advanced information about customizing gamerules here.
Installing and Uninstalling
Will work automatically when installed with world creation
- When first installed into an existing world, Repair Mode will activate, which causes all previously opened vaults to be reset.
- When updating Revault from an older version to 1.3, if your world has any vaults that were opened before you installed Revault, you should enable Repair Mode manually: /scoreboard players set RepairMode revault.time 1
- When Uninstalled, all vault-markers will stay.
- When Reinstalled, all vaults that would have unlocked already, will unlock.
Free to be used in any modpack, on any platform.
"Revault" or "Re vault"?
The project is called "Revault". It is labeled "Re vault" on Modrinth because if it was "Revault", it would show up at the end of the search results for "vault".
评论 0
登录后参与评分
还没有评论,来抢沙发吧