Player.dat format/Enchantments

From Minecraft Wiki
Jump to: navigation, search
    •  Enchantments: Contains enchantments on this item that affect the way the item works.
      • : A single enchantment.
        •  id: The name of the enchantment.
        •  lvl: The level of the enchantment, where 1 is level 1. Saved as short when created by enchanting tables or loot tables, but read as an int and supports full int range.
    •  StoredEnchantments: Contains enchantments for enchanted books.
      • : A stored enchantment, identical structure to each enchantment in Enchantments.
    •  RepairCost: Number of experience levels to add to the base level cost when repairing, combining, or renaming this item with an Anvil.