mojira.dev
MC-271967

Lectern flashes GUI when 'has_book: true' and no book present in data

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

migrated
[media]
BugTracker

Can confirm.

[Mod] Jingy

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

misterk7_-

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

misterk7_-

(Unassigned)

Community Consensus

Gameplay

Low

Block states

Minecraft 19w02a, 1.20.6, 24w19b, 25w02a

Retrieved