Wurst.Wiki

The Official Wurst Client Wiki

User Tools

Site Tools


cmd:enchant
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


cmd:enchant [2023/02/17 14:52] (current) – created alexander01998
Line 1: Line 1:
 +====== .enchant ======
  
 +<WRAP 516px>
 +^  .enchant  ^^
 +|{{ enchant.webp?500x356 |Screenshot of a diamond pickaxe that has been enchanted with .enchant.}}||
 +^Type|[[:Command]]|
 +^Category|[[:No Category|none]]|
 +^In-game description|"Enchants an item with everything,\\ except for silk touch and curses."|
 +^[[:keybinds#default_keybinds|Default keybind]]|none|
 +^Source code|[[w7src>net/wurstclient/commands/EnchantCmd.java]]|
 +</WRAP>
 +
 +.enchant is a [[:command|chat command]] that enchants the item in the player's hand with every enchantment except for [[mc>Silk Touch]] and cursed enchantments. Most enchantments are applied at level 127, but [[mc>Quick Charge]] is applied at level 5 to prevent it from breaking [[mc>crossbow|crossbows]].
 +
 +.enchant can only be used in [[mc>Creative Mode]], since it is not possible to modify NBT data in [[mc>Survival Mode]].
 +
 +===== Usage =====
 +
 +To enchant an item, simply type ''.enchant'' into the chat box while holding the item.
 +
 +If the item has been enchanted successfully, there will be a chat message saying:
 +
 +''**<color #f55>[</color><color #fa0>Wurst</color><color #f55>]</color>** Item enchanted.'' ((Only you can see this message.))
 +
 +If the item could not be enchanted, the chat will display either:
 +
 +''**<color #f55>[</color><color #fa0>Wurst</color><color #f55>]</color> <color #f55>[</color><color #a00>ERROR</color><color #f55>]</color>** There is no item in your hand.'' ((Only you can see this message.))
 +
 +if the main hand slot is empty, or:
 +
 +''**<color #f55>[</color><color #fa0>Wurst</color><color #f55>]</color> <color #f55>[</color><color #a00>ERROR</color><color #f55>]</color>** Creative mode only.'' ((Only you can see this message.))
 +
 +if you are not in [[mc>Creative Mode]].
 +
 +===== Syntax =====
 +
 +Main article: [[Command Syntax]]
 +
 +  * ''.enchant'' Enchants the item in the player's main hand.\\ \\ 
 +  * ''.enchant all'' <sup>[//[[:Wurst 6]] only//]</sup> Enchants all items in the player's inventory. ((This option has been removed in [[:Wurst 7]] because it was not very useful. "all" really did mean **all items** in the inventory, including food, building blocks, etc.))\\ \\ 
 +
 +===== Changes =====
 +
 +^Version^Changes^
 +|[[update:Wurst 1.1]]|Added ''.enchant''.|
 +|[[update:Wurst 2.15]]|Added a primary action "Enchant Held Item" to the .enchant page in [[:Navigator]].|
 +|[[update:Wurst 7.0pre1]]|Temporarily removed ''.enchant''.|
 +|[[update:Wurst 7.0pre13]]|Re-added ''.enchant'' (without the ''all'' option). (Thanks to [[gh>MaxCoding3]]!)|
 +
 +{{tag>creative_mode_only NBT_data}}
cmd/enchant.txt · Last modified: 2023/02/17 14:52 by alexander01998