mojira.dev
MC-265954

Lecterns cannot be locked

Why should a lectern be lockable:
We are asked to lock chests & lecterns when we make a map for realms, I am a map maker.

The bug
When you update the nbt data of the lectern with:

{Lock:"lock"}
You can still open the block as normal without needing an item renamed to lock.

How to reproduce:
1. Place down a lectern
2. Run /data merge block <coords>

{Lock:"lock"}
at the location of the lectern
The lectern is not locked and I can read what is inside.

Linked issues

Comments 3

⚠️ Please do not mark issues as private, unless your bug report is an exploit or contains information about your username or server.

We're tracking this issue in MC-142089, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as invalid. Please take a look at the parent ticket (MC-142089) and see if an explanation is provided there in the description of the ticket or in the comments for why this issue is invalid.

Not to necropost but I was new to the bug tracker so I was unaware of the rules and how to report something, but I know better now. Thank you for your help turbo

Wybiea

(Unassigned)

Unconfirmed

(Unassigned)

1.20.2

Retrieved