跳到正文

vaultloot

作者:land301

Added in-game command functionality to adjust the loot probability (item weight) and rarity distribution ratios for both the vault and the ominous vault.

收藏

介绍

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

Vault Loot Console is a server-side Fabric mod that lets you adjust the loot probabilities for the Vault and Ominous Vault using simple in-game commands.

Features

  • Item-level probability – Modify the weight of any item in the vault loot tables: make diamonds never appear, or make the Heavy Core almost guaranteed.
  • Rarity tiers – The vault loot table has a two‑layer structure. You can adjust the top‑level selection weights for the common / rare / unique pools, and also drill down into each pool to fine‑tune individual items.
  • Instant effect – Changes take effect immediately via a data reload (autoApply), and all modifications are persisted in config/vaultloot.json.
  • Easy to revert – Run /vaultloot reset or delete the config file to restore vanilla behaviour.

Command List

Requires OP permissions (permission level 2):

| Command | Description |
|———|————-|
| /vaultloot list <table> | List entries in the table and their current weights |
| /vaultloot set <table> <item> <weight> | Set an absolute weight |
| /vaultloot add <table> <item> <delta> | Add/subtract from the existing weight |
| /vaultloot multiply <table> <item> <multiplier> | Multiply the weight by a factor |
| /vaultloot reset <table> [item] | Restore vanilla weights (optionally for a single item) |
| /vaultloot apply | Immediately apply pending changes |
| /vaultloot autoapply <bool> | Toggle “apply changes automatically” |
| /vaultloot info | Show config file path and number of overridden entries |

Loot Table Aliases

| Alias | Controls |
|——-|———-|
| normal / ominous | Top‑level selection weights for the common / rare / unique pools (rarity bias) |
| normal_common / ominous_common | Common pool (emeralds, arrows, wind charges, small amounts of diamonds, …) |
| normal_rare / ominous_rare | Rare pool (armour, weapons, enchanted books, diamond blocks, …) |
| normal_unique / ominous_unique | Unique pool (enchanted golden apples, smithing templates, tridents, Heavy Cores, …) |

Usage Examples

Make every ominous vault drop a Heavy Core guaranteed (set all other unique‑pool entries to weight 0, and zero out the other pools):

/vaultloot set ominous minecraft:chests/trial_chambers/reward_ominous_rare 0
/vaultloot set ominous minecraft:chests/trial_chambers/reward_ominous_common 0
/vaultloot set ominous_unique minecraft:enchanted_golden_apple 0
/vaultloot set ominous_unique minecraft:flow_armor_trim_smithing_template 0
/vaultloot set ominous_unique minecraft:flow_banner_pattern 0
/vaultloot set ominous_unique minecraft:music_disc_creator 0

Make diamonds no longer appear in the normal vault’s common pool:

/vaultloot set normal_common minecraft:diamond 0

Installation & Multiplayer

  • Server: required (for single‑player, install on the client).
  • Client: optional. Vanilla or unmodded clients can still join without issues by default.

常见问题

vaultloot 支持哪些 Minecraft 版本?

vaultloot 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

vaultloot 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分