Files
tag_selection_datapack
Code
16 132
tag_selection_datapack/data/tagselect/function/give_book.mcfunction
give @s minecraft:written_book[custom_data={tagselect_book:1b},written_book_content={title:"tag选择",author:"tagselect",pages:[{text:"源石环境类词条选择书。点击下方词条即可选择;同一词条的不同等级会自动互相替换。点击清除可以取消选择。",color:"dark_gray"},{text:"源石环境:刺激 ",color:"dark_gray",extra:[{text:"刺激 I",color:"red",click_event:{action:"run_command",command:"trigger tagselect_trig_stim set 1"}},{text:" "},{text:"刺激 II",color:"red",click_event:{action:"run_command",command:"trigger tagselect_trig_stim set 2"}},{text:" "},{text:"刺激 III",color:"red",click_event:{action:"run_command",command:"trigger tagselect_trig_stim set 3"}},{text:" "},{text:"清除",color:"gray",click_event:{action:"run_command",command:"trigger tagselect_trig_stim set 4"}}]},{text:"源石环境:活性 ",color:"dark_gray",extra:[{text:"活性 I",color:"green",click_event:{action:"run_command",command:"trigger tagselect_trig_active set 1"}},{text:" "},{text:"活性 II",color:"green",click_event:{action:"run_command",command:"trigger tagselect_trig_active set 2"}},{text:" "},{text:"活性 III",color:"green",click_event:{action:"run_command",command:"trigger tagselect_trig_active set 3"}},{text:" "},{text:"清除",color:"gray",click_event:{action:"run_command",command:"trigger tagselect_trig_active set 4"}}]},{text:"源石环境:疲惫 ",color:"dark_blue",extra:[{text:"疲惫",color:"blue",click_event:{action:"run_command",command:"trigger tagselect_trig_tired set 1"}},{text:" "},{text:"清除疲惫",color:"gray",click_event:{action:"run_command",command:"trigger tagselect_trig_tired set 2"}},{text:"\n源石环境:疲惫加剧 "},{text:"疲惫加剧",color:"blue",click_event:{action:"run_command",command:"trigger tagselect_trig_fatigue set 1"}},{text:" "},{text:"清除疲惫加剧",color:"gray",click_event:{action:"run_command",command:"trigger tagselect_trig_fatigue set 2"}}]},{text:"源石环境:侵蚀 ",color:"dark_purple",extra:[{text:"侵蚀 I",color:"dark_purple",click_event:{action:"run_command",command:"trigger tagselect_trig_erosion set 1"}},{text:" "},{text:"侵蚀 II",color:"dark_purple",click_event:{action:"run_command",command:"trigger tagselect_trig_erosion set 2"}},{text:" "},{text:"侵蚀 III",color:"dark_purple",click_event:{action:"run_command",command:"trigger tagselect_trig_erosion set 3"}},{text:" "},{text:"清除",color:"gray",click_event:{action:"run_command",command:"trigger tagselect_trig_erosion set 4"}}]}]}
tag @s add tagselect_has_book