User:AlphanumericSheepPig/sandbox

These are edits for the 1.3 updates.

Basic Mechanics
Whenever you place an eligible item on the Enchantment 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, which is capped at 15 (but was 30 prior to the 1.3 update), as well as two random integers. The placement of the bookshelves is important, and is described in the next section. The


 * Enchantment level available = 1..8 + (b/2) + 0..b,

where b is the number of nearby bookshelves, and x..y generates a uniformly distributed random integer between x and y inclusive.

When an item is placed on the enchanting table, the level is calculated for each of the three slots, with new random variables This level is then further modified depending on which slot it is to be displayed in. In the top slot, it is reduced to one third of its value.

Prior to version 1.1, the (b/2) term in the above equation was 0..(b/2), resulting in more randomness, and making the search for high level enchantments an extremely time consuming process. Prior to 1.1, the lowest level available was 1, regardless of the number of bookshelves used.

In Creative mode, no levels or experience are necessary for enchantments.