Edit Mob Drops
The Edit Mob Drops modification provides a simple and flexible tool for complete control over creature drops in Minecraft. You'll be able to configure item drops with any level of detail — from adding new items to completely clearing standard loot.
Main Features
All items from the base game and other mods are supported, including work with NBT data. The system works with any mobs — both standard ones and those added by third-party developers.
Configuration is done through configuration files:
- For versions 1.7.10 and 1.12.2:
config/editmobdrops/editmobdrops.cfg - For versions 1.14 and above:
config/editmobdrops/editmobdrops.toml
Configuration Examples
Version 1.7.10
# Configuration file
general {
# Debug mode: when enabled, the mod will log item drops and output entity IDs to console [default: false]
B:"Debug Mode"=true
# Items to add in format modid:itemName:[metadata]:[nbtfile]:minStackSize:maxStackSize:universalChance:[monsterChance]:[bossChance]:[group1Chance]:[group2Chance]...
# Chances are in %
# NBT file is a json file in the "editmobdrops" folder inside config (leave empty if not needed) [default: ]
S:"Items To Add" <
minecraft:diamond_sword:0:sword:1:1:100
minecraft:diamond:0::1:1:0:0:0:100
>
# Mob groups in format [EntityModid]:[EntityName]:[EntityModid]:[EntityName]... [default: ]
S:"Mob Groups" <
minecraft:Creeper:minecraft:Witch
>
# Mobs to clear standard drops from [default: ]
S:"Mobs to Clear" <
minecraft:Skeleton
>
# Items for individual mobs in format EntityModid:EntityName:modid:itemName:[metadata]:[nbtfile]:minStackSize:maxStackSize:chance [default: ]
S:"Single Mob Items" <
minecraft:Chicken:minecraft:diamond_pickaxe:0::1:1:100
minecraft:Chicken:minecraft:diamond_axe:0::1:1:100
>
}
Version 1.12.2
# Configuration file
general {
# Debug mode: when enabled, the mod will log item drops [default: false]
B:"Debug Mode"=true
# Items to add in format modid:itemName:[metadata]:[nbtfile]:minStackSize:maxStackSize:universalChance:[monsterChance]:[bossChance]:[group1Chance]:[group2Chance]...
# Chances are in %
# NBT file is a json file in the "editmobdrops" folder inside config (leave empty if not needed) [default: ]
S:"Items To Add" <
minecraft:diamond_sword:0:sword:1:1:100
minecraft:diamond:0::1:1:0:0:0:100
>
# Mob groups in format [EntityModid]:[EntityName]:[EntityModid]:[EntityName]... [default: ]
S:"Mob Groups" <
minecraft:creeper:minecraft:witch
>
# Mobs to clear standard drops from [default: ]
S:"Mobs to Clear" <
minecraft:skeleton
>
# Items for individual mobs in format EntityModid:EntityName:modid:itemName:[metadata]:[nbtfile]:minStackSize:maxStackSize:chance [default: ]
S:"Single Mob Items" <
minecraft:chicken:minecraft:diamond_pickaxe:0::1:1:100
minecraft:chicken:minecraft:diamond_axe:0::1:1:100
>
}
Version 1.14+ (e.g., 1.16.5 and newer)
# If debug mode is enabled, the mod will log item drops
debugMode = true
# Items to add in format modid:itemName:[nbtfile]:minStackSize:maxStackSize:universalChance:[monsterChance]:[bossChance]:[group1Chance]:[group2Chance]...
# Chances are in %
# NBT file is a json file in the "editmobdrops" folder inside config (leave empty if not needed)
itemsToAdd = ["minecraft:diamond_sword:sword:1:1:100", "minecraft:diamond::1:1:0:0:0:100"]
# Mob groups in format [EntityModid]:[EntityName]:[EntityModid]:[EntityName]...
mobGroups = ["minecraft:creeper:minecraft:witch"]
# Mobs to clear standard drops from
mobsToClear = ["minecraft:skeleton"]
# Items for individual mobs in format EntityModid:EntityName:modid:itemName:[nbtfile]:minStackSize:maxStackSize:chance
singleMobItems = ["minecraft:chicken:minecraft:diamond_pickaxe::1:1:100", "minecraft:chicken:minecraft:diamond_axe::1:1:100"]
How the Configuration Example Works
Both configuration examples perform the same functions for different Minecraft versions.
This configuration adds a chance to drop a stack of minecraft:diamond_sword with quantity from 1 to 1 (i.e., 1 sword) with metadata 0 (a regular diamond sword), using the "sword.json" file for NBT, to all creatures with 100% probability.
The "sword.json" file contains the following in version 1.7.10:
{display:{Name:"A sword"}}
In version 1.12.2:
{"display": {"Name": "A sword"}}
In version 1.16.5 and newer:
{"display":{"Name":"[{\"text\":\"A sword\"}]"}}
These NBT data assign the sword the name "A sword". The .json files can contain any valid NBT data in json format. If unsure about the syntax, check it using the /give command.
After the sword, the configuration adds a chance to drop a stack of minecraft:diamond with 1 diamond of metadata 0 without using an NBT file (this section is left empty). The diamond has a 0% drop chance for all creatures, 0% for monsters, 0% for bosses, and 100% for group 1, defined lower in the configuration as Creepers and Witches.
Lower in the configuration, skeletons are listed as "Mobs to Clear". This means standard drops are cleared, but this happens before additional items are added, so skeletons will still drop a diamond sword named "A sword".
Finally, the "Items for individual mobs" section adds items to a specific type of creature — in this case, adding a diamond pickaxe (metadata 0, no NBT) to chickens with a 100% drop probability, and the same for a diamond axe.
In version 1.7.10, entity names can be found by enabling debug mode. After version 1.12.2, metadata was completely removed, so the configuration file version for 1.14+ does not include it.