Enchanted Book

An enchanted book is an item that lets players add enchantments to certain items using an anvil.

Fishing
Enchanted books can be obtained as a "treasure" item from fishing with a fishing rod as part of the "treasure" category. The book has the equivalent of a level 30 enchantment from an enchantment table, but treasure enchantments are available and the chance of multiple enchantments is not reduced.

Trading
$$, librarian villagers have a 50% chance to sell enchanted books as part of their trades at novice, apprentice, and journeyman-level, and have $1/3$ chance to sell enchanted books at expert-level as part of their trades, meaning each librarian villager can sell up to four books. They are bought for 1 book and 5-64 emeralds, based only on the level of the enchantment (for example, Infinity and Protection I both cost 5-19 emeralds), although treasure enchantments (such as Mending) double the cost.

$$, librarian villagers have a $2/3$ chance to sell enchanted books as part of their trades at the novice, apprentice, and journeyman level, and have a 50% chance to sell an enchanted book at the expert level, meaning each librarian can sell up to four books. They are bought for 1 book and 5-64 emeralds, based only on the level of the enchantment (for example, Infinity and Protection I both cost 5-19 emeralds), although treasure enchantments (such as Mending) double the cost.

They may contain any available enchantment (except Soul Speed and Swift Sneak) at any available level. See trading notes for more information on enchantments and prices.

Drops
Vindicators and pillagers that spawn from raids have a small chance to drop an enchanted book with a level 30 enchantment, which may be a treasure enchantment.

Enchanting


Players can create an enchanted book by enchanting a book on an enchantment table. Books have a decreased chance of getting multiple enchantments (specifically, if multiple enchantments would be added, then one is removed at random), and have a lower "enchantability level" than most other items. Treasure enchantments such as Mending cannot be obtained from an enchantment table.

Bartering
Players can barter with piglins by using or throwing gold ingots, and doing so has a $5/459$ chance for piglins to give the player an enchanted book with any level of Soul Speed. Soul Speed enchanted books are only obtainable through bartering, chest loot inside a bastion remnant, and fishing. They cannot be obtained through enchanting or trading.

Usage
In Survival, enchanted books are the only method to obtain certain enchantments on certain tools, such as Unbreaking on shields. Enchanted books have a shine effect on their sprite.

To use an enchanted book, the player must place an item in the first slot in an anvil, and a book in the next. In order to complete the enchantment, the player must have the required amount of experience. Note that using an enchanted book gets significant discounts at the anvil. Enchanted books themselves can be combined to create a single book with increased or multiple enchantments, similar to combining tools or weapons.

When combining items, the compatible enchantments from the book in the second slot are transferred to the item from the first slot, keeping the highest level of any type. If two enchantments have the same level and a higher level is available, they combine into the next level. If a book is applied to an item that can't take all of its spells, the appropriate spells are transferred, while the unusable ones are lost. Enchanted books are single-use.

Enchanted books do not exhibit their enchantment. For example, a book with Sharpness IV as an enchantment does no more damage than an un-enchanted book, or any non-weapon item, would when used as a weapon. An exception is the Fire Aspect book which can ignite TNT and light campfires and the Mending book if the block mined can be broken by fist.

Available items
Enchanted books can enchant the usual items that can be enchanted at an enchanting table, but unlike an enchanting table, they are able to boost enchantments such as Sharpness or Thorns to their maximum power, and may apply the following enchantments to items (the table displays only netherite tools and armor, but any type can be enchanted):

Creative mode
The player can enchant any item with any enchantment in Creative mode, allowing any applied effects to exhibit themselves. For example, a stick can be enchanted with Silk Touch to allow the player to successfully dig grass blocks. The enchanted item can still be used in Survival mode without any loss of enchantments.

Enchantments that are normally incompatible are still incompatible; for example, Piercing and Multishot cannot be both applied to the same item, even in Creative mode.

If a block is enchanted, it loses the enchantment upon being placed in the world.

Disenchanting
Disenchanting an enchanted book at a grindstone yields a normal book and some experience depending on the quality of the book.

Chiseled bookshelf
the chiseled bookshelf while having an enchanted book in the main hand will put the book inside the chiseled bookshelf.

Sounds




ID




Item data


Enchanted books use an NBT tag  to indicate the enchantment. The allowed sub-tags are  and , equivalent to the format of the   tag that is used for enchantments applied to items.

''The following NBT structure is provided to show how the  tag is organized, and is not comprehensive above the   tag. The full NBT for an item can be found here.''


 * The tag tag.
 * The list of enchantments on this book.
 * An enchantment
 * The enchantment name ID
 * The enchantment level


 * See Bedrock Edition level format/Item format.
 * See Bedrock Edition level format/Item format.

Trivia

 * When obtained through the command with no stored enchantments, the enchanted book has no attached enchantments, but still shines as if it is enchanted.
 * A book enchanted with Unbreaking III appears in both the tools tab and combat tab of the Creative inventory.