Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Lectern

From SAS Gaming Wiki

Template:Infobox block A lectern is a Minecraft:block used to display a book and quill or written book for reading. Turning a page triggers a Minecraft:redstone pulse. It also serves as a librarian's 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.

Template:Breaking row

Natural generation

Empty lecterns can generate naturally in village libraries, up to two for some library variants.

One lectern generates as part of each ancient city, in the secret room at the city center.

Crafting

Template: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

File:Lectern GUI.png
The UI when reading a book on a lectern.

Lecterns can also hold a single book and quill or 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 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 job site block.

Redstone signal

Lecterns holding a book emit a full-strength Minecraft:redstone pulse that is 2 game ticks long when a page is turned. A 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

Lectern signal strength by currently open page (P) & total book pages (M) (Template:IN)
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 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 fuel in furnaces to smelt 1.5 items.

Note blocks

Lecterns can be placed under note blocks to produce "bass" sound.

Sounds

Generic

Template:Sound table/Block/Wood

Unique

Template:Edition Template:SoundTable

Template:Edition: Template:SoundTable

Data values

ID

Template:Edition: Template:ID table Template:ID table

Template:Edition: Template:ID table2 Template:ID table

Block states

Template:See also

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"/>

<section end="block data"/>

Template:El:

See Minecraft:Bedrock Edition level format/Block entity format.

History

Development and announcement

Template:HistoryTable

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

PlayStation 4 Edition

Template:HistoryTable

Data history

Template:HistoryTable

Issues

Template:Issue list

Gallery

Renders

Screenshots

In other media

References

Template:Reflist

External links

Navigation

Template:Navbox redstone Template:Navbox blocks

de:Lesepult es:Atril fr:Pupitre it:Leggio ja:書見台 ko:독서대 nl:Lessenaar pl:Pulpit pt:Atril ru:Кафедра th:แท่นอ่านหนังสือ uk:Катедра zh:讲台