Wiki ArticleNeeds updatingGameplay
Enchanting table mechanics
This article is about the mechanics of enchanting with enchanting tables.
Whenever the player places an eligible item on the enchanting table, the enchantment levels available are randomly generated for each slot using the formula below. The enchantment level is dependent upon the number of nearby bookshelves (capped at 15) and which slot position it is in.
where b is the number of nearby bookshelves (maximum of 15) and randomInt(x,y) generates a uniformly distributed random integer between x and y, inclusive. This is then modified according to the slot position:
Complete article available
This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.