====== .rename ====== ^ .rename ^^ |{{ :rename.png?500 |}}|| ^Type|[[:Command]]| ^Category|none| ^In-game description|"Renames the item in your hand.\\ Syntax: .rename \\ Use $ for colors, use $$ for $.\\ Example:\\ .rename $cRed Name\\ (changes the item's name to Red Name)" [//[[:Wurst 7]] only//]| |:::|"Renames the item in your hand. Use $ for colors, use $$ for $." [//[[:Wurst 6]] only//]| ''.rename'' is a cheat command in the Minecraft Wurst Client that can be used to rename [[mc>items]] in [[mc>Creative mode]]. The ''.rename'' command always targets the item in the player's [[mc>Dual_wield|main hand]] slot. If the player is not holding an item in this slot, ''.rename'' will throw an error saying "There is no item in your hand.". ''.rename'' was originally created by [[gh>Nitrogen-Dioxide]] in Wurst-MC-1.8:454((https://www.wurstclient.net/updates/wurst-1-12/)). ===== Syntax ===== Main article: [[:command#syntax|Command Syntax]] * ''.rename '' renames the currently held item to the specified name.\\ Within the '''' parameter, any ''$'' will be replaced with ''ยง'' (useful for [[mc>color codes]]) and any ''$$'' will be replaced with ''$''. Examples: * ''.rename Name With Default Style'' changes the item's name to "//Name With Default Style//".\\ \\ * ''.rename $rName Without Italics'' changes the item's name to "Name Without Italics".\\ \\ * ''.rename $cRed Name'' changes the item's name to "Red Name".\\ \\ * ''.rename Name With Dollar Sign $$'' changes the item's name to "Name With Dollar Sign $".\\ \\ ===== Changes ===== ^Version^Changes^ |[[update:Wurst 1.12]]|Added ''.rename''. (Thanks to [[gh>Nitrogen-Dioxide]]!)| |[[update:Wurst 7.0pre1]]|Temporarily removed ''.rename''.| |[[update:Wurst 7.0pre18]]|Re-added ''.rename''.| |[[update:Wurst 7.6.2]]|Fixed ''.rename'' not handling color codes correctly.| {{tag>creative_mode_only NBT_data}}