NOTE: (0.3.0)
Please ensure you have KubeLoader, LootJS, Kubejs, Polymorph, and Rhino installed. In 1.20.1 you also have to download Architectury API.
If something went wrong, try /reload first.
How it works:
This mod does not add any new items on its own. Instead, it distributes vanilla and mod items into the loot chests where they naturally belong.
You do not need to install every compatible mod, as the mod will only handle existing items. For example, if you only have Farmer's Delight installed, items from Farm & Charm will simply be ignored and won't appear.
1. village house

And other biomes for ctov:

Mod items displayed above require their corresponding mods to be installed.
Each chest of village house now contains 4 categories: crops, wealth & tools, dishes, and drinks.
When multiple mods introduce the same crop (like tomatoes), the mod prioritizes them in this order: Kaleidoscope Cookery → Farmer's Delight → Farm & Charm → Other Mods. If you prefer the Farmer's Delight version (or any other variant), you can easily swap them directly in your inventory crafting grid.
There is a low probability that some village house chests will actually contain Carpenter or Baker loot.
- Carpenter: furniture, wooden functional blocks, materials of wood, saplings, and tools.
- Baker: bread, dessert, and cooking material.
Compatible Mods:
- Recommended: Kaleidoscope Cookery, Farmer's Delight, Corn Delight
- Optional: Barbecue's Delight, Berry Good, Brewery, Brewin' and Chewin', Crate Delight, Dumplings Delight, Farm & Charm, Kaleidoscope Chinese Food, Kaleidoscope Nether, KitchenKarrot, More Delight, Rationcraft, Rustic Delight, Vanilla Cookbook, Youkai's Feasts / Youkai's Homecoming, Muffins Thai Delight, Vintage Delight, Pineapple delight
If you launch the game without any of mods listed above, the plain village chest may look like this:

2. village professions

Mod items displayed above require their corresponding mods to be installed.
Loots in houses of the butcher, mason, shepherd and tannery now changes based on the biome. For instance, a desert Shepherd offers green dye from cacti, whereas a plains Shepherd offers red, yellow and blue dyes from poppy, dandelion and cornflower.
- Butcher: meat,meat product, and knives.
- Mason: material and product, functional or decorative.
- Shepherd: dyes, wools, wool product, and shears.
- Tannery: leather and leather products.

Other village professions loot have been modified as well, but they only have a single loot set that remains the same everywhere.
- Blacksmith: metal ingot, medal product, including iron, gold, copper, diamond.
- Cartographer: paper, maps, tools.
- Cleric: books, potion materials, random colorful things.
- Fisher: fishes, fishing rod.
Compatible Mods:
- Recommended:
- Optional: Let's do Bakery, Chalk, Explorer's Compass, Nature's Compass, Sawmill, Stone Chest, Stoneworks, Traveler's Backpack, Wooden Shears, Kaleidoscope Cookery, Supplementaries
3. Treasure Chests

- General:
- Iron ingots in treasure chests have been deleted. There are more diamonds instead.
- Undying totems have become more common.
- Abandoned mineshaft: raw ores, tools, enchanted books, pottery sherds, and lights.
- Buried treasure: emeralds & emerald blocks, smithing template coast & tide, gold or diomond products, and valuable ocean stuff.
- Jungle temple: gold, treasure, smithing template wild, enchanted books.
- Pillager outpost: weapons, meat, canned food, enchanted books.
- Ruined portal: gold armor, netherrack, blocks from nether (with a low chance of ancient debris).
- Shipwreck supply: crop and fish.
- Shipwreck treasure: ancient crops, valuable things, any kind of pottery sherd, music disc, smithing template (overworld type only).
- Simple dungeon: mob drops, any kind of music disc and smithing template (overworld type only), lights, treasure, enchanted armors and weapons.
- Woodland Mansion: loot chest is randomly assigned one of six themes:
- Weapons: iron axes, iron swords, and crossbows.
- Treasures: diamond product, ingot and blocks.
- Music: note blocks or jukebox, any kind of music disc (overworld type only),
- Wool & Dyes: dyes and colored wool products.
- Cuisine: big meals and alcohol.
- Food Supply: crops.

Compatible Mods:
- Recommended: Supplementaries
- Optional: Immersive Armors, Immersive Enchanting
Additional Notes
-
This mod clears out the original vanilla Minecraft loot tables, so some datapacks may not work.
-
Removed the cakes and cameras added to various structures by the Touhou Little Maid mod to maintain overall immersion.
-
The Nether, the End, Igloo, Stronghold Corridor, Stronghold Supply, Ancient City and Trial Chambers have not been modified yet.
-
Paired Spawns: Whenever a crop crate or sack appears in a loot chest, its corresponding single crop will spawn too. (1.21.1 only)