ProductDetails
Enchantments, contents, names and other extras on an item.
Every field is optional and only appears when it applies. More fields may be added, so ignore keys you do not recognise.
Returned by
Fields
enchantmentsEnchantment[]Enchantments on the item itself, sorted by id. Left out when there are none.
ShowHide2 child fields
idstringEnchantment id without the
minecraft:namespace, for examplesharpness.levelintegerEnchantment level, starting at 1.
storedEnchantmentsEnchantment[]Enchantments stored in an enchanted book. Left out for every other item.
ShowHide2 child fields
idstringEnchantment id without the
minecraft:namespace, for examplesharpness.levelintegerEnchantment level, starting at 1.
contentsContainerEntry[]What a shulker box holds, one entry per item id with counts added together, largest first.
ShowHide2 child fields
itemstringItem id, for example
netherite_sword.countintegerTotal number of that item in the box.
customNamestringThe name shown in game when it differs from the default item name. DonutSMP renames some items, for example
Dried Ghaston a skeleton skull.flightDurationintegerFlight duration of a firework rocket, from 1 to 3.
