跳到正文

Re vault

作者:EMD123

Reopen vaults after a configurable cooldown.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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”.

常见问题

Re vault 支持哪些 Minecraft 版本?

Re vault 支持 Minecraft Java 版 1.21–26.3,共 17 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Re vault 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

EMD123 的其他作品

查看全部 →