Game Development Reference
In-Depth Information
So how do you start enchanting? It's actually pretty easy, and there are several ways to go
about it:
Use an enchantment table to apply a random enchantment to an item, at the cost of
XP.
Pay a villager priest with emeralds in return for a specific enchantment on an item
you must already have in your inventory. This also works like a free repair by
swapping damaged items for their undamaged, enchanted equivalent.
Combine an enchanted topic with an item at an anvil. This will cost some XP but
at a discounted rate to creating the original enchanted topic. This is a bargain if
you've been fortunate to find an enchanted topic in some of the chests scattered
around the world in villages, dungeons, and so on. Villager librarians will also
trade them for other items.
Combine an item with an enchanted item of the same type at an anvil. If you com-
bine two items with different but compatible enchantments, the final item gains
both enchantments. You can also use anvils to repair and rename items in a process
not dissimilar to using them to enchant items.
Let's start with the simplest method: an enchantment table as shown in Figure 10.1 . We'll
get to the bookshelves surrounding it shortly.
FIGURE 10.1 An enchantment table surrounded with 15 power-boosting bookshelves.
Enchantment tables take up one block, just like a crafting table, but creating them is a little
more difficult because they require two diamond gems, a book, and four obsidian blocks.
Search WWH ::




Custom Search