Minecraft wiki entry for Before_Village_%26_Pillage, associated text: Book would only have one enchantment. The enchantment was chosen randomly, with an equal chance of any enchantment type occurring and an equal chance to get any level of it, so higher-leveled enchantments were as likely to get as low-leveled enchantments. The price in emeralds depended on enchantment level and "treasure" status. The possible values were 5 – 19 emeralds for Lvl I, 8 – 32 for Lvl II, 11 – 45 for Lvl III, 14 – 58 for Lvl IV, and 17 – 71 for Lvl V. For "treasure" enchantments the price was doubled. Note that the cost was capped at 64, meaning that for example Lvl V books truly ranged from 17 - 64 emeralds, with costs at the upper end of the range being more common.