Skip to content

breaking Lectern doesnt drop non-book items even if contained in the NBT #12556

@Miracas091

Description

@Miracas091

Expected behavior

Regardless of whether it is a book or not, the lectern should drop the itemStack contained in its nbt.

Observed/Actual behavior

The lectern only drops the itemStack in its NBT if its a book

Steps/models to reproduce

store any non-book itemStack in the nbt. eg. using. "/setblock ~ ~ ~ lectern{Book:{id:"minecraft:dirt",count:1}}"
Break the lectern.

Plugin and Datapack List

None

Paper version

This server is running Paper version 1.21.4-147-main@3bd69f2 (2025-02-10T22:59:40Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)\nYou are 83 version(s) behind\nDownload the new version at: https://papermc.io/downloads/paper

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions