item.update()
Updates specific fields in an item's YAML file.
api.nexomaker.item.update({ path, changes })
api.nexomaker.item.update({ path, changes })Parameter
Type
Description
await api.nexomaker.item.update({
path: itemData.path,
changes: {
display: 'Diamond Sword',
damage: 7,
durability: 1561
}
});Last updated