0

When I tried to use the /enchant command on an item to get sharpness 6, it wouldn't work and gave me an error. Is there a way to toggle safe enchants? Or is there a different way to approach this?

4

2 Answers 2

1

The /enchant command doesn't support out of bounds enchantments. Try using /give instead:

/give @p diamond_axe{Enchantments:[{id:"minecraft:sharpness",lvl:19s},{id:"minecraft:fire_aspect",lvl:45s}]}
8
  • 1
    You really shouldn't answer a question by copy-pasting my answer to a different question -- close vote the question as duplicate instead.
    – pppery
    Commented Feb 26, 2021 at 16:20
  • @ppery but the question isn't the same, i credited you anyway
    – Penguin
    Commented Feb 26, 2021 at 16:21
  • @ppery I've changed it so its original now
    – Penguin
    Commented Feb 26, 2021 at 16:21
  • 1
    You've misunderstood my point entirely. The point I was trying to make is that the fact that you can validly answer a question my copying an answer from a different question nearly verbatim means that the questions are in fact duplicates.
    – pppery
    Commented Feb 26, 2021 at 16:53
  • @pppery that's how meta sites work. But on the main site you don't close as duplicates unless the question is the same, not the answer
    – Penguin
    Commented Feb 26, 2021 at 17:06
-1

If you want to enchant an item with very high enchantments that are not supposed to be allowed, like sharpness 6, you'd need to use /give. For example, for a sword with sharpness 12 and knockback 5, you'd need to use:

/give @p diamond_sword{Enchantments:[{id:sharpness,lvl:12},{id:knockback,lvl:5}]}. 

You can enchant just about everything, so if you want a stick that has a very high knockback, you can simply use:

/give @p stick{Enchantments:[{id:knockback,lvl:30}]}

You can replace these enchantments with any enchantments, for example, you can use:

/give @p diamond_sword{Enchantments:[{id:smite,lvl:65},{id:looting,lvl:10000},{id:fire_aspect,lvl:12}]}

or:

/give @p stick{Enchantments:[{id:sharpness,lvl:130}]}

If you want to get an enchanted pickaxe, you can use:

/give @p diamond_pickaxe{Enchantments:[{id:fortune,lvl:1000},{id:efficiency,lvl:10000}]}

You can do this with any enchantments you want, and almost any object you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.