Custom-Item-Data in Config

It is possible to set the item data (like wool color) and NBT data (like enchantments, name and lore) for items in the MyPet config.

You have to provide the Item properties in this order:

  • 1.13-Item-ID NBT-Data



beef {display:{Name:"Wolf Food",Lore:["Tasty wolf food","Tastes like banana"]}}

beef {"display":{"Name":"[{\"text\":\"Wolf Food\"}]","Lore":["{\"text\":\"Tasty wolf food\"}","{\"text\":\"Tastes like banana\"}"]}}

When you set the food of the wolf to this, a player needs an item that is like in this picture: Custom-Item-Example

This will allow server owners to set the food and leash items (and some other items used by MyPet) to items that can only be obtained by shops etc.

Item generators

You can also use item generators from various site like these:

Just copy the generated command and remove the /give @a.

NBT data

The syntax for the NBT data is the same like in the /give command in Minecraft. You can find all possible NBT properties here or just use one of the generators from above.