Skip to content

How Loot Works

Thelnfamous1 edited this page Nov 30, 2020 · 12 revisions

In every dungeon-type chest (from basic dungeons to woodland mansions) you will find a common weapon and common armor. Depending on the rarity of the structure the chest is found in, you have a 25-100% chance of the weapon being unique instead, a 25-100% of the armor being unique instead and a 25-100% chance of also finding an artifact. You can configure these values, or disable this feature entirely.

To add to loot chests from other mods (or even other vanilla loot chests), go into the config and put in the namespace id of the chest’s loot table into any of the whitelists for COMMON_LOOT_TABLES, UNCOMMON_LOOT_TABLES, RARE_LOOT_TABLES or SUPER_RARE_LOOT_TABLES, with the rarities appropriately matching for best results. For example, put “dungeoncrawl:chests” under RARE_LOOT_TABLES to put rare loot in all Dungeon Crawl loot chests, or “dungeoncrawl:chests/treasure_room” under SUPER_RARE_LOOT_TABLES to only put super rare loot in the treasure room chests.

There is also a corresponding blacklist for each list, where you should put specific loot tables that should be blacklisted (putting a partial path will not work here, unlike the whitelist) if they may be linked to an entry in the corresponding whitelist. For example, put "minecraft:chests/jungle_temple_dispenser" under UNCOMMON_LOOT_TABLES_BLACKLIST if UNCOMMON_LOOT_TABLES contains "minecraft:chests/jungle_temple" to exclude the dispenser from receiving loot.

Clone this wiki locally