When you right click on a Lectern with 'has_book: true' property, the game attempts to open the written book GUI despite there being no book present in its data.
Steps to reproduce:
1. Run
/setblock ~ ~ ~ minecraft:lectern[has_book=true]
2. Right click the Lectern
I use this in custom content for my datapack. This is distracting and an epilepsy risk so I would like to see this fixed.
Related issues
Attachments
Comments


Can confirm.
This duplicates MC-166924
Quote from that report:
> "The same applies when using /data to remove the lectern's Book NBT tag. The lectern still displays a book, and right-clicking the lectern causes the book GUI to flash briefly before exiting."

MC-166924 suggests the lectern block state should be dependant on its data. Mine points to an issue with the block state itself.