Item modifier

Datapacks

Change an item via /item modifyLearn more

Change the name, description, enchantment, Unbreaking and components of an existing item: JSON, datapack and /item modify command.

My game select version

We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.

1. Draft

Project JSON - can be edited without JavaScript

The strength 1 is completely fixed. Components: max_stack_size, engineering_glint_override, unbreakable, custom_data. The size of a glass greater than 1 is incompatible with an object that has strength.

2. Result

Set up the project or download the files. Here will be a tested JSON and a ready-made archive.

How to use

  1. Put the ZIP in your world's datapacks.
  2. Run /reload and check /datapack list enabled.
  3. Run the /item modify command from the result. The actions are applied in order.

Uploaded files and the result are available via the link for one hour. To continue working, save the project and archive.

Frequently asked questions

Does the modifier create a new item?

No. The /item modify command modifies the item in the selected slot. Hold the item in your main hand and execute the command from the result.

How to completely repair an item?

In the "Remaining Strength" action, specify 1. A value of 0 corresponds to maximum wear, 0.5 - half of the remaining strength.