Rename

Renames the items the player has in his inventory slots specified

/goop nbt rename <player> <slot> <name>

Supports color codes

Args Breakdown (What everything does)

<Player>

  • Player whose inventory items' NBT will be edited.

  • Supports a few vanilla selectors.

  • [1.6.5] May be an Entity (dropped item) UUID

<Slot>

  • The slot in the player's inventory in which items will be renamed. To read on slots see Inventory Slots.

  • Examples: mainhand, offhand, chest, feet, any, 0-8, ec*

<name>

  • The name the item will have. Supports color codes

  • (1.16+) For Hex color codes: <#rrggbb>

Tips

  • Supports color codes with the & convention.


  • As of GooP 1.6.7; You must use <&at> to include non-rename sintax @s, and <&pc> to include %s that are not PAPI placeholders.


  • In 1.16+, Use <#ff960d> for forbidden orange color :)

Simple Examples:

/goop nbt rename cocopad * &fWheat seeds

Will rename all the items in player cocopad's inventory (including armor slots) to 'Wheat seeds'


/goop nbt rename atuosto head &3&7Storm Caveat &3

Will rename the item in atuosto's head to 'Storm Caveat'


/goop nbt rename rose_bushes_ mainhand @prefix=❀@ Oleaceae, @name=Nature's Friend@ @prefix@

Will rename rose_bushes_'s mainhand item to '❀ Oleaceae, Nature's Friend ❀'. Note how the second prefix variable gets the value of the first. Read more at Name Variables.


/goop nbt setItem Xakaa mainhand v diamond_sword 0 oS: goop nbt adamage @s mainhand 1337 oS: goop nbt mhealth @s mainhand 50 oS: goop nbt mspeed @s mainhand 0.2 oS: goop nbt luck @s mainhand 8 oS: goop nbt addLore top @s mainhand &4F&ci&6l&el&a t&bh&9e&5 w&4o&cr&6l&ed&a w&bi&9t&5h&4 c&co&6l&eo&ar&b!&9!&5! oS: goop nbt addLore bottom @s mainhand &8Gunging was here oS: goop nbt rename @s mainhand &r&f✩ &4S&cp&6e&ec&at&2r&bu&3m &1B&9l&5a&dd&4e &f✩

Will transform the item player Xakaa is holding into an epic sword with the rainbow name "Spectrum Blade".