NBT Tag Formats

Vanilla tags

Attributes

Attributes are stored in the AttributeModifiers field. For example:

script.zs
{
AttributeModifiers: [
{
AttributeName: "generic.maxHealth",
Name: "Heavy Armor",
Amount: 180,
Operation: 0
}
]
}

This kind of attribute would give a player 100 hearts instead of 10.

Sources: