# /forceenchant

## Usage

Can only be used to enchant items that can normally be enchanted (like tools and armor), but can apply any level of any enchantment. To enchant items under the game's normal restrictions, use [enchant](https://thepython10110.gitbook.io/better-commands/commands/enchant "mention").

## Syntax

`forceenchant <targets> <enchantment> [<level>]`

## Arguments

`<targets>` Selector

Specifies the target(s).

`<enchantment>` String

Specifies the enchantment to be added to the item held in the target's main hand.

`<level>` Number

Specifies the enchantment level. If not specified, defaults to 1.

Must be a positive integer.

## Examples

* To enchant the nearest player's held item with Depth Strider 200:

  `/forceenchant @a depth_strider 99` (try Soul Speed too... it's ridiculous)
* To enchant the nearest player's held item with Knockback 99:

  `/forceenchant @p knockback 99` (just put it on a pair of boots or something... knockboots)

## History

| Version | Action                |
| ------- | --------------------- |
| v2.0    | Added `/forceenchant` |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://thepython10110.gitbook.io/better-commands/commands/forceenchant.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
