Minecraft Data Packs / Item

Custom Villager Drops! [1.16+]

  • check_circle Functions
  • 1,841 views, 27 today
  • 440 downloads, 4 today
  • 14
  • 8
  • 6
DordLord avatar DordLord
Level 14 : Journeyman Pig
4
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
  • 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
    CreditMadCat - used their Mob Head Drops datapack as reference (https://www.madcatgaming.com/mob-head-drops-data-pack/)
    CompatibilityMinecraft 1.16
    Tags

    1 Update Logs

    Version 2.0! : 01/16/2021 3:06:02 amJan 16th

    • Added wandering trader loot (thanks Kate1902019 for the suggestion!)
    • Added XP drops for villagers and wandering traders (thanks Kate1902019 for the suggestion!)

    2
    01/15/2021 9:40 pm
    Level 22 : Expert Miner
    Kate1902019
    Kate1902019 avatar
    Make villagers, iron golems and wandering traders also drops xp orbs.
    2
    01/16/2021 1:00 am
    Level 14 : Journeyman Pig
    DordLord
    DordLord avatar
    I don't think iron golems should drop XP because you could just make your own iron golems and then kill them for XP (similar to why snow golems don't drop XP), but I agree with villagers and wandering traders. Might add that!
    1
    01/18/2021 12:01 am
    Level 22 : Expert Miner
    Kate1902019
    Kate1902019 avatar
    Ok.
    2
    01/16/2021 1:04 amhistory
    Level 21 : Expert Blacksmith
    JohThePro
    JohThePro avatar
    Do you know a way to make them drop xp? cause I've been searching for one but it seems as though the best way to do it is to just spawn armor stand at every entity.

    Edit: Cool datapack btw!
    1
    01/16/2021 1:15 am
    Level 14 : Journeyman Pig
    DordLord
    DordLord avatar
    Thank you!
    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.
    2
    01/15/2021 8:35 am
    Level 5 : Apprentice Explorer
    GordonPlayingExperience
    GordonPlayingExperience avatar
    So you can make a very easy Redstone, bonemeal, and porkchop farm now? Nice!
    Planet Minecraft Logo

    Website

    © 2010 - 2021
    www.planetminecraft.com

    Welcome