Table of Contents

.modify

.modify
The .help entry for .modify.
TypeCommand
Categorynone
In-game description“Allows you to modify NBT data of items.

Syntax: .modify add <nbt_data>
.modify set <nbt_data>
.modify remove <nbt_path>
Use $ for colors, use $$ for $.

Example:
.modify add {display:{Name:'{"text":"$cRed Name"}'}}
(changes the item's name to Red Name)“
Default keybindnone
Source codenet/wurstclient/commands/ModifyCmd.java

.modify is a chat command that allows the user to modify the NBT data of items.

Using .modify requires creative mode, but doesn't require OP.

NBT data is a complex topic that goes far beyond the scope of this page. See the NBT format page in the official Minecraft Wiki to learn more about how NBT works.

Syntax

Main article: Command Syntax

Examples:

See also

Changes

VersionChanges
Wurst 2.15Added .modify.
Wurst 7.0pre1Temporarily removed .modify.
Wurst 7.0pre8Re-added .modify.
Wurst 6.27.1 (Minecraft 1.8 & 1.12),
Wurst 7.0pre8 (Minecraft 1.14+)
Added color support to .modify. Use $ for colors, use $$ for $.