tellraw icon indicating copy to clipboard operation
tellraw copied to clipboard

Book and Sign command not working for version newer versions (1.20.5-1.21+)

Open Gadgetman1 opened this issue 7 months ago • 0 comments

Recently Mojang has updated their systems for commands and it's broken the give commands for the sign and the book features.

Book 1.20 /give @p written_book{pages:["{"text":"Hello","color":"dark_red"}"],title:"Custom Book",author:Player} Sign 1.21 /give @p written_book[written_book_content={pages:["{"text":"Hello","color":"dark_red"}"],title:"Custom Book",author:Player}]

Sign 1.20 /give @p oak_sign{BlockEntityTag:{Text1:""Hello""}} Sign 1.21 /give @a oak_sign[block_entity_data={id:oak_sign,front_text:{messages:['["",{"text":"hello","color":"dark_red"}]','[""]','[""]','[""]']}}]

Changing the book should be easy, you just got to add the part saying "[written_book_content=]" around the NBT, but the signs got changed a lot. This was tested on 1.21, but I believe it affects 1.20.5/.6 also.

Gadgetman1 avatar Jul 08 '24 04:07 Gadgetman1