Minecraft Wiki
(Partial undo revision 1418069 by 213.74.225.140 (talk) saved as shots by vanilla ways to obtain enchantments; clairifying)
Tag: Undo
No edit summary
Line 10: Line 10:
 
[[Category:Top-level data pages]]
 
[[Category:Top-level data pages]]
 
</noinclude>
 
</noinclude>
  +
[[zh:Player.dat格式/附魔]]

Revision as of 07:14, 23 April 2020

    •  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 enchantment levels to add to the base level cost when repairing, combining, or renaming this item with an Anvil.