Command guide
Java 1.21+ armor trim commands
Java 1.21+ stores armor trims in item components. The editor writes the component format for each armor piece so you do not have to remember the exact JSON shape.
Example command
/give @s minecraft:netherite_chestplate[minecraft:trim={pattern:"minecraft:silence",material:"minecraft:amethyst"}] 1
Component format
The important component is minecraft:trim. It needs a pattern ID and a material ID. Both values use namespaced Minecraft identifiers.
When to use it
Use this format for modern Java worlds, servers, command blocks, and datapack testing on 1.21 or newer.
Common mistake
Do not paste old NBT syntax into 1.21+ commands. It may fail or silently ignore the trim depending on the server setup.
Generate your own command
The safest path is to choose the armor, pattern, and material visually, then copy the command from the editor for your target edition.
Open a ready-made editor setup
Open editor
Start from Void Royal, then change the trim or material before copying the command.