/give @p minecraft:written_book 1 0 {AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:-1,Operation:0,UUIDLeast:339139,UUIDMost:12358}],title:"Magic Book",author:"YourPlayerName",generation:0,pages:["{text:\"summon Charged Creeper\",color:blue,bold:true,hoverEvent:{action:'run_command',value:\"/say summoned Charged Creeper\"},clickEvent:{action:'run_command',value:\"/summon creeper ~ ~ ~ {powered:1}\"},extra:[{text:\" summon Giant\",color:green,bold:true,hoverEvent:{action:'run_command',value:\"/say summoned Giant\"},clickEvent:{action:'run_command',value:\"/summon giant\"}},{text:\" summon Ender Crystal\",color:yellow,bold:true,hoverEvent:{action:'run_command',value:\"/say summoned Ender Crystal\"},clickEvent:{action:'run_command',value:\"/summon Ender_Crystal\"}},{text:\" summon Moving Ender Dragon\",color:black,bold:false,clickEvent:{action:'run_command',value:\"/summon Ender_Dragon ~ ~ ~ {DragonPhase:1}\"}},{text:\" summon Wither\",color:black,bold:false,clickEvent:{action:'run_command',value:\"/summon Wither\"}},{text:\" summon Xp\",color:yellow,bold:false,clickEvent:{action:'run_command',value:\"/summon Xp_Orb\"}}]}"]}