/summon Villager ~1 ~ ~ {Profession:2,CustomName:"Star
Destroyer",CustomNameVisible:1,Career:1,CareerLevel:42,CanPickUpLoot:0,PersistenceRequired:1,NoAI:1,Silent:1,Invulnerable:1,Attributes:[{Name:"generic.knockbackResistance",Base:"1f"},{Name:"generic.movementSpeed",Base:"0f"},{Name:"generic.maxHealth",Base:99999}],ActiveEffects:[{Id:"23",Amplifier:0,Duration:2147483647}],Offers:{Recipes:[0:{buy:{id:"diamond",Count:10b},buyB:{id:"nether_star",Count:1b},maxUses:9999999,sell:{id:"minecraft:shield",Count:1b,Damage:0s,tag:{BlockEntityTag:{Base:0,Patterns:[0:{Color:1,Pattern:"cr"},1:{Color:15,Pattern:"mr"},2:{Color:4,Pattern:"bo"}]},display:{Name:"Dark_Shield",Lore:["Deep
Dark"],HideFlags:7},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:40,Operation:0,UUIDMost:52244,UUIDLeast:219212},{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:0,UUIDMost:17968,UUIDLeast:935764}]}},rewardExp:false},1:]}}