Minecraft:Lectern
More actions
Template:Infobox block A lectern is a Minecraft:block used to display a Minecraft:book and quill or Minecraft:written book for reading. Turning a page triggers a Minecraft:redstone pulse. It also serves as a Minecraft:librarian's Minecraft:job site block.
Obtaining
Breaking
Lecterns can be broken with any Minecraft:tool, but an Minecraft:axe is the fastest. Lecterns drop themselves and the book they are holding.
Natural generation
Empty lecterns can generate naturally in Minecraft:village libraries, up to two for some library variants.
One lectern generates as part of each Minecraft:ancient city, in the secret room at the city center.
Crafting
Usage
Lecterns are the job site block of librarian villagers.
Librarian villagers do not place books into lecterns. They only stare at the lectern from less than a block away as "working".
Holding books
Lecterns can also hold a single Minecraft:book and quill or Minecraft:written book that other players can read at the same time. Right-clicking an empty lectern with a book and quill or written book places it. Right-clicking a lectern that already has a book opens an interface to read the book. Books occupying a lectern can be retrieved through the interface,Template:Only by punching the lectern,Template:Only or by destroying the lectern, even when the Template:Gmr game rule is false.
Lecterns cannot hold Minecraft:enchanted books or normal Minecraft:books. Instead, right-clicking the lectern with an enchanted book or a normal book does nothing and the book won't be placed.
Profession
Template:Main If a lectern has not been claimed by a Minecraft:villager, any nearby unemployed villager (excluding nitwits) has a chance to change its profession to librarian and claim the lectern as its Minecraft:job site block.
Redstone signal
Lecterns holding a book emit a full-strength Minecraft:redstone pulse that is 2 game Minecraft:ticks long when a page is turned. A Minecraft:redstone comparator also records Minecraft:book reading and sends a signal, depending on what page the player is currently on. Since Template:El displays two pages of the book at once, the same signal strength increments require double the number of pages.
Java Edition
| Template:Diagonal split header | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 15 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 14 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | |
| 13 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | ||
| 12 | 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 15 | |||
| 11 | 1 | 2 | 3 | 5 | 6 | 8 | 9 | 10 | 12 | 13 | 15 | ||||
| 10 | 1 | 2 | 4 | 5 | 7 | 8 | 10 | 11 | 13 | 15 | |||||
| 9 | 1 | 2 | 4 | 6 | 8 | 9 | 11 | 13 | 15 | ||||||
| 8 | 1 | 3 | 5 | 7 | 9 | 11 | 13 | 15 | |||||||
| 7 | 1 | 3 | 5 | 8 | 10 | 12 | 15 | ||||||||
| 6 | 1 | 3 | 6 | 9 | 12 | 15 | |||||||||
| 5 | 1 | 4 | 8 | 11 | 15 | ||||||||||
| 4 | 1 | 5 | 10 | 15 | |||||||||||
| 3 | 1 | 8 | 15 | ||||||||||||
| 2 | 1 | 15 | |||||||||||||
| 1 | 15 |
A book with only 1 page gives maximum signal strength, however page 1 always gives 1 signal strength if the book contains at least 2 pages.
To calculate the signal strength <math>S</math> of a book with more than 1 page, use the following formula:
<math>S = \left\lfloor 1 + \frac{14(P-1)}{M-1} \right\rfloor</math>
Where <math>\lfloor \, \rfloor</math> is the "floor" operation (round down), <math>M</math> is the maximum number of pages the book on the lectern has, and <math>P</math> is the current page number the lectern is turned to.
This is most noticeable when a book has 2 pages where the signal strength is either 1 on page 1 or 15 on page 2.
A book that would step signal strength up or down in increments of 1 per page would be 15 pages long.
The following Python program prints all possible pairs of two values to achieve a certain signal strength, with the first being the page number to be on and the second being the total number of pages. <syntaxhighlight lang="python" line="1" start="1"> import math
S = int(input('Enter the target signal strength: ')) # Desired signal strength (1-15) P = 1 # Actual page number M = 2 # Max page number
while M < 25:
while S != math.floor(1 + ((14 * (P - 1)) / (M - 1))): # Strength formula
if P == M:
M += 1
P = 0
P += 1
print('Possible combination (P / M):', P, "/", M)
P += 1
</syntaxhighlight>
Bedrock Edition
Odd pages are not taken into account by the game when calculating the Minecraft:comparator output of a Minecraft:book: for example, a book with 9 pages has a signal strength of 15 when looking at either pages 7-8 or page 9. Books with 3 pages are treated the same as those with 1 or 2 pages (the same as how Java Edition would treat a book with just 1 page).
For books that are longer than 1 page, use the following formula to calculate the signal strength:
<math>S = \left\lfloor 1 + \frac{14(P')}{M'} \right\rfloor</math>
In this case <math>M'</math> is the total amount of pages, if it's even—otherwise the total amount of pages minus one should be used instead. <math>P'</math> is the number of the right page currently displayed on the book interface, if available—otherwise the number of the left page minus one should be used instead.
A Minecraft:book that steps signal strength up or down in increments of 1 per page turned must be exactly 30 pages long.
Fuel
Lecterns can be used as Minecraft:fuel in Minecraft:furnaces to Minecraft:smelt 1.5 Minecraft:items.
Note blocks
Lecterns can be placed under Minecraft:note blocks to produce "bass" sound.
Sounds
Generic
Template:Sound table/Block/Wood
Unique
Data values
ID
Template:Edition: Template:ID table Template:ID table
Template:Edition: Template:ID table2 Template:ID table
Block states
Template:El: Template:Bst Template:Bst Template:Bst
Template:El: Template:Bst Template:Bst
Block data
A lectern has a Minecraft:block entity associated with it that holds additional data about the Minecraft:block.
Template:El: Template:See also
<section begin="block data"/>
- Template:Nbt Block entity data
- Template:Nbt inherit/blockentity
- Template:Nbt: The book item, without the slot tag, currently on the lectern, may not exist.
- Template:Nbt: The page the book is currently on, starting from 0, does not exist if there's no book. Value is clamped between 0 and the last page - 1.
<section end="block data"/>
History
Development and announcement
Java Edition
Bedrock Edition
PlayStation 4 Edition
Data history
Issues
Gallery
Renders
Screenshots
-
One of the two first images of the lectern.
-
The second of the first images of the lectern.
-
The first image of a modern lectern.<ref>Template:Tweet</ref>
-
A lectern holding a book and quill.
-
Minecraft:Sunny using a lectern.
In other media
-
A lectern as seen in Template:AMCM.
References
External links
Template:Navbox redstone Template:Navbox blocks
Minecraft:de:Lesepult Minecraft:es:Atril Minecraft:fr:Pupitre Minecraft:it:Leggio Minecraft:ja:書見台 Minecraft:ko:독서대 Minecraft:nl:Lessenaar Minecraft:pl:Pulpit Minecraft:pt:Atril Minecraft:ru:Кафедра Minecraft:th:แท่นอ่านหนังสือ Minecraft:uk:Катедра Minecraft:zh:讲台