/give @p wooden_sword 1 0 {display:{Name:"Horrible sword.",Lore:["It might be good. It might be bad.","AKA random sword"]},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:40,Operation:0,UUIDMost:66902,UUIDLeast:683977}],HideFlags:6,Unbreakable:1}