mojira.dev
MC-271005

Knowledge books with a max stack size over 1 consume all items in the stack when used

How to replicate:

  • create a world with cheats enabled

  • use the following command: give @s minecraft:knowledge_book[minecraft:max_stack_size=2] 2

  • make sure you're in survival mode

  • right click with the knowledge books

  • both books will disappear

Expected Behavior:

Only one book from the stack is consumed

Linked issues

Attachments

Comments 3

I can confirm this in 1.20.5-rc2 and attached a video demonstrating the bug.

[media]

I commented this in MC-269642 but probably should have made a separate report. 

Can confirm in the full release of 1.20.5.

parax342

gegy

Community Consensus

Platform

Low

Commands, Items

24w12a, 1.20.5 Release Candidate 2, 1.20.6

24w19a

Retrieved