Minecraft wiki entry for Lectern, associated text: In this case is half of the maximum page number rounded down, and is half of the current highest page number containing data displayed on the book interface, rounded down.