- check_circle Functions
- 4,042 views, 2 today
- 794 downloads, 1 today
5
I noticed that villagers don't drop anything, and zombie villagers have no unique drops. To rectify this, I gave villagers and zombie villagers the chance to drop emeralds as well as profession-specific items! I also gave villagers and wandering traders XP drops and made it so a wandering trader will drop a random flower upon death.
Notes
Notes
- Tested in 1.16.3
- Should work in multiplayer
- Make sure to extract the file!
- Use the /reload command to load the datapack in when you get into game!
Specific Changes to Loot Tables
Villager
• 0-1 emeralds dropped upon death by player (+1 to max per looting level)
• 2 experience orbs dropped upon death by player
Zombie Villager
• Replaced iron ingot with emerald
Wandering Trader
• Random flower dropped upon death by player
• 2 experience orbs dropped upon death by player
Profession Specific Additions
• 30% chance to drop profession specific item upon death by player (+15% per looting level)
Armorer: Coal
Butcher: Porkchop
Cartographer: Paper
Cleric: Redstone Dust
Farmer: Bone Meal
Fisherman: Cod
Fletcher: Flint
Leatherworker: Leather
Librarian: Book
Mason: Brick
Shepherd: White Wool
Toolsmith: Coal
Weaponsmith: Coal
• 0-1 emeralds dropped upon death by player (+1 to max per looting level)
• 2 experience orbs dropped upon death by player
Zombie Villager
• Replaced iron ingot with emerald
Wandering Trader
• Random flower dropped upon death by player
• 2 experience orbs dropped upon death by player
Profession Specific Additions
• 30% chance to drop profession specific item upon death by player (+15% per looting level)
Armorer: Coal
Butcher: Porkchop
Cartographer: Paper
Cleric: Redstone Dust
Farmer: Bone Meal
Fisherman: Cod
Fletcher: Flint
Leatherworker: Leather
Librarian: Book
Mason: Brick
Shepherd: White Wool
Toolsmith: Coal
Weaponsmith: Coal
Credit | MadCat - used their Mob Head Drops datapack as reference (https://www.madcatgaming.com/mob-head-drops-data-pack/) |
Compatibility | Minecraft 1.16 |
Tags |
1 Update Logs
Version 2.0! : by DordLord 01/16/2021 3:06:02 amJan 16th, 2021
- Added wandering trader loot (thanks Kate1902019 for the suggestion!)
- Added XP drops for villagers and wandering traders (thanks Kate1902019 for the suggestion!)
tools/tracking
4919308
119
custom-villager-drops-1-16
Create an account or sign in to comment.
Edit: Cool datapack btw!
I think I'd add an item to the villager and wandering trader loot table with a custom NBT and have a function run which replaces that item entity with the appropriate XP entity. I'm pretty sure that would work.