Enchantment & Attribute Randomizer
Pick an item, roll a random spread of vanilla enchantments and attribute modifiers, and get either a ready /give command or a loot table entry — with the ranges baked in as number providers, so the game rolls the exact value on drop instead of you rolling it once here.
Vanilla enforces incompatibility groups (protection tree, sharpness/smite/bane, fortune/silk touch, and more). This tool respects them by default — see the guide for a full list.
Item
Output
Format
Item format
Randomization mode
Roll ranges
These ranges apply in both modes: they cap how many slots get filled and what level an unlocked enchantment can land on.
Basic — attribute amount
Used when Randomization mode is Basic. Advanced mode uses each attribute's own typical range instead.
Enchantment pool
Set a rarity weight, or tick Lock and set an exact level to keep that enchantment on every reroll.
| Enchantment | Weight | Lock | Level |
|---|
Attribute pool
| Attribute | Weight | Lock | Amount |
|---|