NBT Tag formats

From MineTweaker3 Wiki
Revision as of 15:41, 30 August 2014 by Stan (Talk) (Created page with "== Vanilla tags == === Enchantments === === Attributes === Attributes are stored in the AttributeModifiers field. For example: { AttributeModifiers: [ { At...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Vanilla tags

Enchantments

Attributes

Attributes are stored in the AttributeModifiers field. For example:

{
  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: