Wiki 9Minecraft Wiki 9Minecraft
Configurable Extra Mob Drops Wiki › Guides › How to Make Mobs Drop Randomly Enchanted Items

How to Make Mobs Drop Randomly Enchanted Items

Adding Randomly Enchanted Drops

The mod includes an enchanting mechanic that enchants dropped items randomly, functioning like an in-game enchanting table when the mob dies. This is useful for equipment and weapons where you want randomized drop variety rather than fixed enchantments.

To set this up, place the weapon, tool, or armor piece into your main hand and enter:

/cemd addhand <entity-name> <drop-chance> <min-amount> <max-amount> <enchant-level>

How Enchanted Drops Work

When the specified mob dies:

1. The mod rolls the <drop-chance> (set from 0 to 1.0).

2. If successful, it calculates the stack size between <min-amount> and <max-amount>.

3. It applies random enchantments calculated at the specified <enchant-level>.

Note that if you prefer an item to have exact, predetermined enchantments instead of random ones, enchant the item beforehand, hold it in your hand, and add it without specifying an <enchant-level>. The mod will automatically preserve the item's existing enchantment NBT tags.