


any idea why doesn't this function work?
here's the function itself:
give nekro_poliss written_book[
written_book_content={
title:"",author:"",pages:[[
{"text":"Time set:\n⁺","bold":true},
{"text":"day","color":"gold","bold":false,"hover_event":{"action":"show_text","value":[{"text":"/time set day"}]},"click_event":{"action":"run_command","command":"/time set day"}},
{"text":"\n⁺","bold":true},
{"text":"night","color":"dark_blue","bold":false,"hover_event":{"action":"show_text","value":[{"text":"/time set midnight"}]},"click_event":{"action":"run_command","command":"/time set midnight"}},
{"text":"\nGamemode:\n⁺","bold":true},
{"text":"survival","color":"dark_green","bold":false,"hover_event":{"action":"show_text","value":[{"text":"/gamemode survival"}]},"click_event":{"action":"run_command","command":"/gamemode survival"}},
{"text":"\n⁺","bold":true},
{"text":"creative","color":"blue","bold":false,"hover_event":{"action":"show_text","value":[{"text":"/gamemode creative"}]},"click_event":{"action":"run_command","command":"/gamemode creative"}},
{"text":"\n⁺","bold":true},
{"text":"adventure","color":"gold","bold":false,"hover_event":{"action":"show_text","value":[{"text":"/gamemode adventure"}]},"click_event":{"action":"run_command","command":"/gamemode adventure"}},
{"text":"\n⁺","bold":true},
{"text":"spectator","color":"dark_purple","bold":false,"hover_event":{"action":"show_text","value":[{"text":"/gamemode spectator"}]},"click_event":{"action":"run_command","command":"/gamemode spectator"}}
]]
}
] 1
u/Just_Roma — 6 days ago