Agility Enchantment Wiki › Guides › Using Commands to Apply Agility Enchantment
Using Commands to Apply Agility Enchantment
Enchanting with /enchant Command
If you have cheats enabled, you can directly apply Agility to your leggings using the enchant command. First, equip the leggings you want to enchant, then run:
`
/enchant @s agility_enchantment:agility
`
This instantly applies Agility at the default level. The enchantment activates immediately on your equipped leggings.
Granting Enchanted Loot
Alternatively, use the loot command to generate an Agility enchantment item in your inventory:
`
/loot give @s loot agility_enchantment:
`
This creates an enchanted item or book that you can then equip or apply to leggings via an anvil. Commands are useful for testing, creative building, or quickly gearing up in survival mode when you have operator privileges.