Wiki 9Minecraft Wiki 9Minecraft

Obtaining Bags

Java EditionModGuides 5FAQ 10Related mods 48
DownloadTreasure Bags Mod

Get the files on 9Minecraft

Contents (4)
  1. Entity Groups
  2. Starting Inventory
  3. Next guides
  4. More in this wiki

Since bags are not obtainable by default, they must be added to loot tables. This can be done by modifying existing vanilla loot tables or using the mod's built-in entity groups.

Entity Groups

Treasure Bags provides specialized loot tables that allow you to add drops to broad categories of mobs without editing every individual entity file. These are located at data/treasurebags/loot_tables/entity_group/.

Group ID Target Entities
hostile All monsters (Zombies, Skeletons, Creepers, etc.)
peaceful Passive animals (Cows, Sheep, Pigs, etc.)
boss Boss mobs (Ender Dragon, Wither, etc.)
player Dropped when a player is killed.

Starting Inventory

The mod includes a special loot table: treasurebags:starting_inventory. This table is rolled exactly once when a player first joins a world. By default, it contains a single bag of type treasurebags:spawn. Modpack creators can edit this table to provide custom starter kits or multiple bags to new players.