Better Commands
Better Commands
  • Home
  • Commands
    • /ability
    • /bc
    • /clear
    • /clearspawnpoint
    • /damage
    • /enchant
    • /execute
    • /forceenchant
    • /gamemode
    • /gamerule
    • /give
    • /kill
    • /me
    • /msg
    • /old
    • /playsound
    • /remove
    • /say
    • /scoreboard
    • /setblock
    • /spawnpoint
    • /summon
    • /team
    • /teammsg
    • /teleport
    • /time
    • /trigger
  • Target Selectors
  • Data types
  • Entity Aliases
  • Scoreboard
Powered by GitBook
On this page
  • Syntax
  • Arguments
  • Examples
  • History
Edit on GitHub
  1. Commands

/forceenchant

Adds an enchantment to a player's selected item, regardless of whether it would normally be possible (MCL only).

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

Previous/executeNext/gamemode

Last updated 1 year ago